WidgetRegistry_ToggleButton class abstract

Inheritance

Constructors

WidgetRegistry_ToggleButton({required bool value})
const
factory

Properties

copyWith → _$$WidgetRegistry_ToggleButtonImplCopyWith<_$WidgetRegistry_ToggleButtonImpl>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value bool
no setter

Methods

map<TResult extends Object?>({required TResult clickButton(WidgetRegistry_ClickButton value), required TResult toggleButton(WidgetRegistry_ToggleButton value), required TResult confirmButton(WidgetRegistry_ConfirmButton value), required TResult pressButton(WidgetRegistry_PressButton value), required TResult directionalButton(WidgetRegistry_DirectionalButton value), required TResult joystick(WidgetRegistry_Joystick value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? clickButton(WidgetRegistry_ClickButton value)?, TResult? toggleButton(WidgetRegistry_ToggleButton value)?, TResult? confirmButton(WidgetRegistry_ConfirmButton value)?, TResult? pressButton(WidgetRegistry_PressButton value)?, TResult? directionalButton(WidgetRegistry_DirectionalButton value)?, TResult? joystick(WidgetRegistry_Joystick value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult clickButton(WidgetRegistry_ClickButton value)?, TResult toggleButton(WidgetRegistry_ToggleButton value)?, TResult confirmButton(WidgetRegistry_ConfirmButton value)?, TResult pressButton(WidgetRegistry_PressButton value)?, TResult directionalButton(WidgetRegistry_DirectionalButton value)?, TResult joystick(WidgetRegistry_Joystick value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult clickButton()?, TResult toggleButton(bool value)?, TResult confirmButton()?, TResult pressButton(bool pressed)?, TResult directionalButton(int direction)?, TResult joystick(Coord delta, double intensity)?, required TResult orElse()}) → TResult
inherited
name({dynamic hint}) Future<String>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult clickButton(), required TResult toggleButton(bool value), required TResult confirmButton(), required TResult pressButton(bool pressed), required TResult directionalButton(int direction), required TResult joystick(Coord delta, double intensity)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? clickButton()?, TResult? toggleButton(bool value)?, TResult? confirmButton()?, TResult? pressButton(bool pressed)?, TResult? directionalButton(int direction)?, TResult? joystick(Coord delta, double intensity)?}) → TResult?
inherited

Operators

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