ActionButtonConfig class

Styling and behavior configuration for a single action button rendered by ShowCaseDefaultActions, such as Next, Previous or Stop.

Constructors

ActionButtonConfig({String? text, Widget? icon, Color textColor = const Color(0xff48cae4), Color textButtonBgColor = Colors.transparent, VoidCallback? callback, bool buttonVisible = true, bool buttonTextVisible = true, TextDirection textDirection = TextDirection.ltr})
Creates a configuration for a single tooltip action button.
const

Properties

buttonTextVisible bool
Defines visibility of button.
final
buttonVisible bool
Defines visibility of button.
final
callback VoidCallback?
Callback on button tap.
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
button icon or image
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
button text
final
textButtonBgColor Color
Color of button background.
final
textColor Color
Color of button text.
final
textDirection TextDirection
Defines icon and text direction.
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