hasSelection property

bool get hasSelection

Whether any items are selected.

Implementation

bool get hasSelection => selectedKeys.isNotEmpty;