TooltipActionButton class

Constructors

TooltipActionButton({required TooltipDefaultActionType? type, BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(50)), EdgeInsets? padding = const EdgeInsets.symmetric(horizontal: 15, vertical: 4), List<GlobalKey<State<StatefulWidget>>> hideActionWidgetForShowcase = const [], Color? backgroundColor, TextStyle? textStyle, ActionButtonIcon? leadIcon, ActionButtonIcon? tailIcon, String? name, VoidCallback? onTap, Border? border})
A class that defines interactive action buttons within showcase tooltips.
const
TooltipActionButton.custom({required Widget? button, List<GlobalKey<State<StatefulWidget>>> hideActionWidgetForShowcase = const []})
const

Properties

backgroundColor Color?
Background color for the action button.
final
border Border?
Border to apply around the button.
final
borderRadius BorderRadius?
Border radius for the action button.
final
button Widget?
A custom widget to use instead of the default button appearance.
final
hashCode int
The hash code for this object.
no setteroverride
hideActionWidgetForShowcase List<GlobalKey<State<StatefulWidget>>>
Hides action widgets for the showcase. Add key of particular showcase in this list. This only works for the global action widgets Defaults to []
final
leadIcon ActionButtonIcon?
Icon to display before the button text.
final
name String?
Display text for the button.
final
onTap VoidCallback?
Callback function triggered when the button is tapped.
final
padding EdgeInsets?
Padding inside the action button.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tailIcon ActionButtonIcon?
Icon to display after the button text.
final
textStyle TextStyle?
Text style for the button label.
final
type TooltipDefaultActionType?
Predefined action type that determines the button's default behavior.
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.
override