hasSelection property Null safety

bool hasSelection

Whether there is an ongoing selection.

Implementation

bool get hasSelection => status != SelectionStatus.none;