NesKeyboardInputAdapter class
A NesInputAdapter that uses the keyboard for input.
- Inheritance
-
- Object
- NesInputAdapter
- NesKeyboardInputAdapter
Constructors
- NesKeyboardInputAdapter({required NesKeyboardKeyMapping mapping})
- A NesInputAdapter that uses the keyboard for input.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapping → NesKeyboardKeyMapping
-
Key mapping.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
FocusNode node, NesInputEvent event, VoidCallback callback) → void -
Adds a listener to the adapter.
override
-
disposeListeners(
FocusNode node) → void -
Disposes all listeners on the adapater.
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