isPressed property

bool get isPressed

Implementation

bool get isPressed => pressedColor != Colors.transparent;