tooltipBuilder property

Widget Function(BuildContext context, HintStep step, HintTooltipContext ctx)? tooltipBuilder
final

Fully custom tooltip. Receives the step itself (styling by targetId) and a HintTooltipContext — actions for buttons plus the position in the tour (index/count, "is last step").

Implementation

final Widget Function(
  BuildContext context,
  HintStep step,
  HintTooltipContext ctx,
)? tooltipBuilder;