hasSelectedItem property

bool get hasSelectedItem

Whether an item is currently selected.

Implementation

bool get hasSelectedItem => _selectedItem != null;