[RawKeyboard] Allow inconsistent modifiers for Web (#114499)

Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
This commit is contained in:
Bruno Leroux
2022-11-07 21:41:09 +01:00
committed by GitHub
parent fe5eb2db75
commit 5628ebf662
5 changed files with 67 additions and 1 deletions

View File

@@ -209,7 +209,7 @@ class LogicalKeyboardKey extends KeyboardKey {
/// Auto-generated IDs should be a rare occurrence: Flutter supports most keys.
///
/// Keys that generate Unicode characters (even if unknown to Flutter) will
/// not return true for `isAutogenerated`, since they will be assigned a
/// not return true for [isAutogenerated], since they will be assigned a
/// Unicode-based code that will remain stable.
///
/// If Flutter adds support for a previously unsupported key code, the ID it

View File

@@ -29,5 +29,6 @@
"Shift": ["ShiftLeft", "ShiftLeft", "ShiftRight", null],
"Control": ["ControlLeft", "ControlLeft", "ControlRight", null],
"Alt": ["AltLeft", "AltLeft", "AltRight", null],
"AltGraph": ["AltGraph", null, "AltGraph", null],
"Meta": ["MetaLeft", "MetaLeft", "MetaRight", null]
}