hasSelection property
bool
get
hasSelection
Whether a selection is currently active (start and end are set).
Implementation
bool get hasSelection => _selectionStart != null && _selectionEnd != null;
Whether a selection is currently active (start and end are set).
bool get hasSelection => _selectionStart != null && _selectionEnd != null;