hasMultipleSelections property

bool get hasMultipleSelections

Whether more than one cursor or selection is active.

Implementation

bool get hasMultipleSelections => (_selections?.ranges.length ?? 0) > 1;