isSelected property

bool get isSelected

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

Implementation

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