isShiftPressed property
bool
get
isShiftPressed
True if the Shift key is currently being pressed.
Implementation
bool get isShiftPressed =>
_logicalKeys.contains(LogicalKeyboardKey.shiftLeft) ||
_logicalKeys.contains(LogicalKeyboardKey.shiftRight);