isSelected property

bool isSelected

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

Implementation

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