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