pressed property

bool get pressed

Whether the widget is in a pressed state.

Implementation

bool get pressed => contains(WidgetState.pressed);