isSecondaryDown property

bool isSecondaryDown

Whether the secondary mouse button is pressed.

Implementation

bool get isSecondaryDown =>
    buttonsFlags! & kSecondaryButton == kSecondaryButton;