setSelection method
Sets the selection and notifies listeners.
Implementation
void setSelection({
required ({int x, int y}) start,
required ({int x, int y}) end,
}) {
_selectionStart = start;
_selectionEnd = end;
_notifyListeners();
}
Sets the selection and notifies listeners.
void setSelection({
required ({int x, int y}) start,
required ({int x, int y}) end,
}) {
_selectionStart = start;
_selectionEnd = end;
_notifyListeners();
}