hasSelection property
bool
get
hasSelection
Whether a range of text is currently selected.
Implementation
bool get hasSelection => _selectionStart != null && _selectionEnd != null;
Whether a range of text is currently selected.
bool get hasSelection => _selectionStart != null && _selectionEnd != null;