hasSelection property
bool
get
hasSelection
Whether a selection is currently active.
Implementation
bool get hasSelection => _selectionStart != null && _selectionEnd != null;
Whether a selection is currently active.
bool get hasSelection => _selectionStart != null && _selectionEnd != null;