Defines the standard key locations returned by
KeyboardEvent.getKeyLocation
.
Constants
- D_PAD → KeyLocation
-
The event key originated on a directional pad of input device:
const KeyLocation._(4)
- LEFT → KeyLocation
-
The event key is in the left key location.
const KeyLocation._(1)
- NUM_PAD → KeyLocation
-
The event key originated on the numeric keypad or with a virtual key corresponding to the numeric keypad.
const KeyLocation._(3)
- RIGHT → KeyLocation
-
The event key is in the right key location.
const KeyLocation._(2)
- STANDARD → KeyLocation
-
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).
const KeyLocation._(0)
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - index → int
-
read-only
- 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