ControlButtonsComponentTouchOptions class
ControlButtonsComponentTouchOptions - Configuration options for ControlButtonsComponentTouch
.
Example Usage:
ControlButtonsComponentTouchOptions(
buttons: [
ButtonTouch(name: 'Play', icon: Icons.play_arrow, onPress: () {} ),
ButtonTouch(name: 'Stop', icon: Icons.stop, onPress: () {}, disabled: true ),
],
position: 'right',
location: 'bottom',
direction: 'horizontal',
containerDecoration: BoxDecoration(
color: Colors.grey,
borderRadius: BorderRadius.circular(8),
),
);
Constructors
-
ControlButtonsComponentTouchOptions({required List<
ButtonTouch> buttons, String position = 'left', String location = 'top', String direction = 'horizontal', BoxDecoration? containerDecoration, bool showAspect = true})
Properties
-
final
- containerDecoration → BoxDecoration?
-
final
- direction → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → String
-
final
- position → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showAspect → bool
-
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