isShiftPressed property

bool isShiftPressed

Returns true if a SHIFT modifier key was pressed at the time of this event, regardless of which side of the keyboard it is on.

Use isModifierPressed if you need to know which shift key was pressed.

Implementation

bool get isShiftPressed => isModifierPressed(ModifierKey.shiftModifier, side: KeyboardSide.any);