KeyEventType enum

Whether a KeyEvent is an initial press, an auto-repeat, or a release.

Only the Kitty keyboard protocol distinguishes these, and only when event-type reporting is requested. Without it — the default — every key arrives as down, so consumers that ignore this field behave exactly as before.

Inheritance
Available extensions

Values

down → const KeyEventType
repeat → const KeyEventType
up → const KeyEventType

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<KeyEventType>
A constant List of the values in this enum, in order of their declaration.