isPressed property

bool isPressed

Implementation

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