logicalKeysPressed property
Set<LogicalKeyboardKey>
logicalKeysPressed
The set of logical keys that are currently being pressed on the keyboard. This set corresponds to the physicalKeysPressed list, and can be used to search for keys in a keyboard-layout-independent way.
Implementation
Set<LogicalKeyboardKey> get logicalKeysPressed => _logicalKeys;