TutorialStep class

Defines a single step in a tutorial, highlighting a widget with a tooltip.

The widgetKey identifies the target widget to highlight, and child is displayed in the tooltip. An optional indicator (e.g., an arrow) can be positioned above or below the target via showAbove.

Constructors

TutorialStep({GlobalKey<State<StatefulWidget>>? widgetKey, required Widget child, Widget? indicator, double? indicatorHeight, double? indicatorWidth, bool? showAbove, EdgeInsets? focusOverlayPadding})

Properties

child → Widget
The content to display in the tooltip.
final
focusOverlayPadding → EdgeInsets?
Padding for the highlight area around the target widget.
final
hashCode → int
The hash code for this object.
no setterinherited
indicator → Widget?
An optional indicator widget (e.g., an arrow) pointing to the target.
final
indicatorHeight → double?
The height of the indicator.
final
indicatorWidth → double?
The width of the indicator.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showAbove → bool?
Whether to show the tooltip and indicator above the target (true) or below (false).
final
widgetKey → GlobalKey<State<StatefulWidget>>?
The key of the widget to highlight in the UI.
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