NesInputController class

The central class that controls all controller adapters of Nes UI.

Use NesController.of to obtain an instance of it.

Constructors

NesInputController({required List<NesInputAdapter> adapters})
The central class that controls all controller adapters of Nes UI.
const

Properties

adapters List<NesInputAdapter>
All adapters on this controller.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(FocusNode node, NesInputEvent event, VoidCallback callback) → void
Add a listener to the adapters.
disposeListeners(FocusNode node) → void
Remove all listeners from the given node.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processKeyBoardInput(FocusNode node, KeyEvent event) KeyEventResult
Process keyboard inputs events.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited