RawKeyUpEvent class
The user has released a key on the keyboard.
See also:
- RawKeyboard, which uses this interface to expose key data.
- Inheritance
- Object
- Diagnosticable
- 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. [...]
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
-
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.debug }) → String -
Returns 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 ==(
dynamic other) → bool -
The equality operator. [...]
inherited