FlutterInputSources class final Sources

The Flutter sources wired into one InputSystem.

Properties

gamepads → GamepadSource
The gamepad source.
final
hashCode → int
The hash code for this object.
no setterinherited
keyboard → KeyboardSource
The keyboard source.
final
mouse → MouseSource
The mouse source InputListener widgets feed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
system → InputSystem
The system these sources feed.
final

Methods

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

Static Methods

ensure(InputSystem system) → FlutterInputSources
Attaches the keyboard, mouse, and gamepad sources and the text-entry guard to system once, returning the installed sources on later calls.
remove(InputSystem system) → void
Detaches the sources and guard installed on system, if any, so a later ensure installs fresh ones.