isSelected property

bool get isSelected

Getter for whether this class considers WidgetState.selected to be active.

Implementation

bool get isSelected => materialStates.contains(WidgetState.selected);