isPressed property Null safety
Getter for whether this class considers MaterialState.pressed to be active.
Implementation
bool get isPressed => materialStates.contains(MaterialState.pressed);
Getter for whether this class considers MaterialState.pressed to be active.
bool get isPressed => materialStates.contains(MaterialState.pressed);