shift property

bool shift

Implementation

bool get shift {
  final keysPressed = HardwareKeyboard.instance.logicalKeysPressed;

  return !(!keysPressed.contains(LogicalKeyboardKey.shiftLeft) &&
      !keysPressed.contains(LogicalKeyboardKey.shiftRight));
}