ShortcutActionsHandler class
A widget that connects Shortcuts to Actions by listening for key events.
Must be a descendant of both Shortcuts and Actions widgets. When a key matches a shortcut, the corresponding intent's action is invoked.
- Inheritance
-
- Object
- Widget
- StatefulWidget
- ShortcutActionsHandler
Constructors
- ShortcutActionsHandler({Key? key, required Widget child})
-
Creates a ShortcutActionsHandler that wraps
child.const
Properties
- child → Widget
-
The widget subtree that receives shortcut handling.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createElement(
) → StatefulElement -
Creates the Element for this widget.
inherited
-
createState(
) → State< ShortcutActionsHandler> -
Creates the mutable state for this widget.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited