Key enum
Common key identifiers across platforms.
Values
- keyA → const Key
- keyB → const Key
- keyC → const Key
- keyD → const Key
- keyE → const Key
- keyF → const Key
- keyG → const Key
- keyH → const Key
- keyI → const Key
- keyJ → const Key
- keyK → const Key
- keyL → const Key
- keyM → const Key
- keyN → const Key
- keyO → const Key
- keyP → const Key
- keyQ → const Key
- keyR → const Key
- keyS → const Key
- keyT → const Key
- keyU → const Key
- keyV → const Key
- keyW → const Key
- keyX → const Key
- keyY → const Key
- keyZ → const Key
- digit0 → const Key
- digit1 → const Key
- digit2 → const Key
- digit3 → const Key
- digit4 → const Key
- digit5 → const Key
- digit6 → const Key
- digit7 → const Key
- digit8 → const Key
- digit9 → const Key
- enter → const Key
- escape → const Key
- space → const Key
- backspace → const Key
- tab → const Key
- shiftLeft → const Key
- shiftRight → const Key
- controlLeft → const Key
- controlRight → const Key
- altLeft → const Key
- altRight → const Key
- arrowLeft → const Key
- arrowUp → const Key
- arrowRight → const Key
- arrowDown → const Key
- windowsLeft → const Key
- windowsRight → const Key
- commandLeft → const Key
- commandRight → const Key
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited