isShiftPressed top-level property

bool get isShiftPressed

Implementation

bool get isShiftPressed {
  return HardwareKeyboard.instance.logicalKeysPressed
          .contains(LogicalKeyboardKey.shiftLeft) ||
      HardwareKeyboard.instance.logicalKeysPressed
          .contains(LogicalKeyboardKey.shiftRight);
}