RawKeyEventDataAndroid class

Platform-specific key event data for Android.

This object contains information about key events obtained from Android's KeyEvent interface.

See also:

  • RawKeyboard, which uses this interface to expose key data.
Inheritance

Constructors

RawKeyEventDataAndroid({int flags: 0, int codePoint: 0, int keyCode: 0, int scanCode: 0, int metaState: 0 })
Creates a key event data structure specific for Android. [...]
const

Properties

codePoint int
See developer.android.com/reference/android/view/KeyEvent.html#getUnicodeChar()
final
flags int
See developer.android.com/reference/android/view/KeyEvent.html#getFlags()
final
keyCode int
See developer.android.com/reference/android/view/KeyEvent.html#getKeyCode()
final
metaState int
See developer.android.com/reference/android/view/KeyEvent.html#getMetaState()
final
scanCode int
See developer.android.com/reference/android/view/KeyEvent.html#getScanCode()
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