KeyData class Null safety

Information about a key event.

Constructors

KeyData({required Duration timeStamp, required KeyEventType type, required int physical, required int logical, required String? character, required bool synthesized})
Creates an object that represents a key event.
const

Properties

character String?
Character input from the event. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
logical int
The key code for the logical key that has changed.
final
physical int
The key code for the physical key that has changed.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
synthesized bool
If synthesized is true, this event does not correspond to a native event. [...]
final
timeStamp Duration
Time of event dispatch, relative to an arbitrary timeline. [...]
final
type KeyEventType
The type of the event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override
toStringFull() String
Returns a complete textual description of the information in this object.

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited