rawEvent property Null safety
final
The native key message in the form of a raw key event.
A native key message is sent to the framework in JSON and represented in a platform-specific form as RawKeyEventData and a platform-neutral form as RawKeyEvent. Their stream is not as regular as KeyEvent's, but keeps as much native information and structure as possible.
The rawEvent field might be empty, for example, when the event converting system dispatches solitary synthesized events.
The rawEvent field will be deprecated in the future.
See also:
- RawKeyboard.addListener, RawKeyboardListener, Focus.onKey, where RawKeyEvents are commonly used.
Implementation
final RawKeyEvent? rawEvent;