KeyLocation class Null safety
Defines the standard key locations returned by KeyboardEvent.getKeyLocation.
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.
- JOYSTICK → const int
The event key originated on a game controller or a joystick on a mobile
- LEFT → const int
The event key is in the left key location.
- MOBILE → const int
The event key originated on a mobile device, either on a physical
keypad or a virtual keyboard.
- NUMPAD → const int
The event key originated on the numeric keypad or with a virtual key
corresponding to the numeric keypad.
- RIGHT → const int
The event key is in the right key location.
- STANDARD → const int
The event key is not distinguished as the left or right version
of the key, and did not originate from the numeric keypad (or did not
originate with a virtual key corresponding to the numeric keypad).