RawKeyEvent class

Base class for raw key events.

Raw key events pass through as much information as possible from the underlying platform's key events, which makes they provide a high level of fidelity but a low level of portability.

See also:

Implementers
Annotations
  • @immutable

Constructors

RawKeyEvent({@required RawKeyEventData data })
Initializes fields for subclasses.
const
RawKeyEvent.fromMessage(Map<String, dynamic> message)
Creates a concrete RawKeyEvent class from a message in the form received on the SystemChannels.keyEvent channel.
factory

Properties

data RawKeyEventData
Platform-specific information about the key event.
final
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

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

Operators

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