logicalKeysPressed property
The set of LogicalKeyboardKey
s that are pressed.
If called from a key event handler, the result will already include the effect of the event.
See also:
- physicalKeysPressed, which tells if a physical key is being pressed.
Implementation
Set<LogicalKeyboardKey> get logicalKeysPressed => _pressedKeys.values.toSet();