isShiftPressed property

bool isShiftPressed

True if the Shift key is currently being pressed.

Implementation

bool get isShiftPressed =>
    _logicalKeys.contains(LogicalKeyboardKey.shiftLeft) ||
    _logicalKeys.contains(LogicalKeyboardKey.shiftRight);