GamepadButtons class Enum
Specifies the button type.
Constructors
- GamepadButtons(int value, {String? name})
-
const
- GamepadButtons.from(int value)
-
factory
Properties
Methods
-
hasFlag(
GamepadButtons flag) → bool - Determines whether one or more bit fields are set in the current enum value.
-
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 &(
GamepadButtons other) → GamepadButtons -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
GamepadButtons other) → GamepadButtons
Constants
- a → const GamepadButtons
- b → const GamepadButtons
- dpadDown → const GamepadButtons
- dpadLeft → const GamepadButtons
- dpadRight → const GamepadButtons
- dpadUp → const GamepadButtons
- leftShoulder → const GamepadButtons
- leftThumbstick → const GamepadButtons
- none → const GamepadButtons
- paddle1 → const GamepadButtons
- paddle2 → const GamepadButtons
- paddle3 → const GamepadButtons
- paddle4 → const GamepadButtons
- rightShoulder → const GamepadButtons
- rightThumbstick → const GamepadButtons
-
values
→ const List<
GamepadButtons> - view → const GamepadButtons
- x → const GamepadButtons
- y → const GamepadButtons