isPressed property

bool isPressed

Whether or not the widget's MaterialState's include the isPressed state

Implementation

bool get isPressed => _materialStates.isPressed;