RawKeyUpEvent class

The user has released a key on the keyboard.

This class has been deprecated and will be removed. Use KeyUpEvent instead.

See also:

  • RawKeyboard, which uses this interface to expose key data.
Inheritance
Annotations
  • @Deprecated('Use KeyUpEvent instead. ' 'This feature was deprecated after v3.18.0-2.0.pre.')

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.
finalinherited
data → RawKeyEventData
Platform-specific information about the key event.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isAltPressed → bool
Returns true if a ALT modifier key is pressed, regardless of which side of the keyboard it is on.
no setterinherited
isControlPressed → bool
Returns true if a CTRL modifier key is pressed, regardless of which side of the keyboard it is on.
no setterinherited
isMetaPressed → bool
Returns true if a META modifier key is pressed, regardless of which side of the keyboard it is on.
no setterinherited
isShiftPressed → bool
Returns true if a SHIFT modifier key is pressed, regardless of which side of the keyboard it is on.
no setterinherited
logicalKey → LogicalKeyboardKey
Returns an object representing the logical key that was pressed.
no setterinherited
physicalKey → PhysicalKeyboardKey
Returns an object representing the physical location of this key.
no setterinherited
repeat → bool
Whether this is a repeated down event.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
isKeyPressed(LogicalKeyboardKey key) → bool
Returns true if the given LogicalKeyboardKey is pressed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited