KeyBindings<T extends InputBase> class
Set of key bindings that map a particular keyboard input (including modifiers) to some logical input.
See KeyCode for available keyboard codes.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
T input, String keyCode, {bool shift = false, bool ctrl = false, bool altOpt = false, bool meta = false}) → void - Bind the given keyboard input to the given logical input.
-
find(
String keyCode, {bool shift = false, bool ctrl = false, bool altOpt = false, bool meta = false}) → T? - Find and return a logical input for the given keyboard input, if it exists.
-
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