isKeyPressed method

bool isKeyPressed (
  1. LogicalKeyboardKey key
)
inherited

Returns true if the given KeyboardKey is pressed.

Implementation

bool isKeyPressed(LogicalKeyboardKey key) => RawKeyboard.instance.keysPressed.contains(key);