hasSelection property

bool hasSelection

Whether the is a valid selection start less than end.

Implementation

bool get hasSelection => !selection.isCollapsed;