KeyType enum

Types of keyboard input events.

Used to categorize parsed key events into semantic categories.

Inheritance
Available extensions

Values

runes → const KeyType

Regular character input (letters, numbers, symbols).

The actual character(s) are available in Key.runes.

enter → const KeyType

Enter/Return key.

tab → const KeyType

Tab key.

backspace → const KeyType

Backspace key.

delete → const KeyType

Delete key.

escape → const KeyType

Escape key.

space → const KeyType

Space key (when treated as special rather than rune).

up → const KeyType

Up arrow key.

down → const KeyType

Down arrow key.

left → const KeyType

Left arrow key.

Right arrow key.

home → const KeyType

Home key.

end → const KeyType

End key.

pageUp → const KeyType

Page Up key.

pageDown → const KeyType

Page Down key.

insert → const KeyType

Insert key.

f1 → const KeyType

F1 function key.

f2 → const KeyType

F2 function key.

f3 → const KeyType

F3 function key.

f4 → const KeyType

F4 function key.

f5 → const KeyType

F5 function key.

f6 → const KeyType

F6 function key.

f7 → const KeyType

F7 function key.

f8 → const KeyType

F8 function key.

f9 → const KeyType

F9 function key.

f10 → const KeyType

F10 function key.

f11 → const KeyType

F11 function key.

f12 → const KeyType

F12 function key.

f13 → const KeyType

F13 function key (extended).

f14 → const KeyType

F14 function key (extended).

f15 → const KeyType

F15 function key (extended).

f16 → const KeyType

F16 function key (extended).

f17 → const KeyType

F17 function key (extended).

f18 → const KeyType

F18 function key (extended).

f19 → const KeyType

F19 function key (extended).

f20 → const KeyType

F20 function key (extended).

unknown → const KeyType

Unknown or unrecognized 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

Constants

values → const List<KeyType>
A constant List of the values in this enum, in order of their declaration.