PlutoGridShortcut class
Class for setting shortcut actions.
Defaults to PlutoGridShortcut.defaultActions if not passing actions.
Constructors
-
PlutoGridShortcut({Map<
ShortcutActivator, PlutoGridShortcutAction> ? actions}) -
const
Properties
-
actions
→ Map<
ShortcutActivator, PlutoGridShortcutAction> -
Custom shortcuts and actions.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handle(
{required PlutoKeyManagerEvent keyEvent, required PlutoGridStateManager stateManager, required RawKeyboard state}) → bool - If the shortcut registered in actions matches, the action for the shortcut is executed.
-
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