isSecondaryButtonPressed property

bool get isSecondaryButtonPressed

Whether the secondary button (usually right mouse button) is pressed.

Implementation

bool get isSecondaryButtonPressed =>
    buttons & kSecondaryMouseButton == kSecondaryMouseButton;