RawKeyUpEvent class

The user has released a key on the keyboard.

See also:

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

Constructors

RawKeyUpEvent({@required RawKeyEventData data, String character })
Creates a key event that represents the user releasing a key.
const

Properties

character String
Returns the Unicode character (grapheme cluster) completed by this keystroke, if any. [...]
final, inherited
data RawKeyEventData
Platform-specific information about the key event.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isAltPressed bool
Returns true if a ALT modifier key is pressed, regardless of which side of the keyboard it is on. [...]
read-only, inherited
isControlPressed bool
Returns true if a CTRL modifier key is pressed, regardless of which side of the keyboard it is on. [...]
read-only, inherited
isMetaPressed bool
Returns true if a META modifier key is pressed, regardless of which side of the keyboard it is on. [...]
read-only, inherited
isShiftPressed bool
Returns true if a SHIFT modifier key is pressed, regardless of which side of the keyboard it is on. [...]
read-only, inherited
logicalKey LogicalKeyboardKey
Returns an object representing the logical key that was pressed. [...]
read-only, inherited
physicalKey PhysicalKeyboardKey
Returns an object representing the physical location of this key. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

isKeyPressed(LogicalKeyboardKey key) bool
Returns true if the given KeyboardKey is pressed.
inherited
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