Defines the standard key locations returned by KeyboardEvent.getKeyLocation.
Constants
- JOYSTICK → int
-
The event key originated on a game controller or a joystick on a mobile device.
5
- LEFT → int
-
The event key is in the left key location.
1
- MOBILE → int
-
The event key originated on a mobile device, either on a physical keypad or a virtual keyboard.
4
- NUMPAD → int
-
The event key originated on the numeric keypad or with a virtual key corresponding to the numeric keypad.
3
- RIGHT → int
-
The event key is in the right key location.
2
- STANDARD → 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).
0
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited