HintTooltipContext class

Per-step context for tooltip content — default and custom.

Everything a tooltip needs to render buttons and progress without knowing the controller: actions (HintActions) plus the position in the tour. Previously tooltipBuilder only received a HintStep, so a custom tooltip could not render "2/5" or decide "Done instead of Next"; now it gets the full step context.

Annotations

Constructors

HintTooltipContext({required HintActions actions, required int stepIndex, required int totalSteps})
const

Properties

actions HintActions
final
hashCode int
The hash code for this object.
no setterinherited
isLast bool
Last step of the tour: Next becomes Done.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stepIndex int
final
totalSteps int
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