KeyboardConfig class

Constructors

KeyboardConfig({bool enable = true, KeyboardDirectionalType keyboardDirectionalType = KeyboardDirectionalType.arrows, List<LogicalKeyboardKey>? acceptedKeys})

Properties

acceptedKeys List<LogicalKeyboardKey>?
You can pass specific Keys accepted. If null accept all keys
final
enable bool
Use to enable ou disable keyboard events
final
hashCode int
The hash code for this object.
no setterinherited
keyboardDirectionalType KeyboardDirectionalType
Type of the directional (arrows, wasd or wasdAndArrows)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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