RawKeyUpEvent class Null safety
The user has released a key on the keyboard.
See also:
- RawKeyboard, which uses this interface to expose key data.
- Inheritance
-
- Object
- RawKeyEvent
- RawKeyUpEvent
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.
read-onlyinherited
- isAltPressed → bool
-
Returns true if a ALT modifier key is pressed, regardless of which side
of the keyboard it is on.
read-onlyinherited
- isControlPressed → bool
-
Returns true if a CTRL modifier key is pressed, regardless of which side
of the keyboard it is on.
read-onlyinherited
- isMetaPressed → bool
-
Returns true if a META modifier key is pressed, regardless of which side
of the keyboard it is on.
read-onlyinherited
- isShiftPressed → bool
-
Returns true if a SHIFT modifier key is pressed, regardless of which side
of the keyboard it is on.
read-onlyinherited
- logicalKey → LogicalKeyboardKey
-
Returns an object representing the logical key that was pressed.
read-onlyinherited
- physicalKey → PhysicalKeyboardKey
-
Returns an object representing the physical location of this key.
read-onlyinherited
- repeat → bool
-
Whether this is a repeated down event.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
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
-
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