isPressed property

bool get isPressed

Whether a press is in progress.

Implementation

bool get isPressed => _captured != null;