HintTooltip class

An additional tooltip of a step (multi-content): a slot with its own preferred side and content, placed around the primary target alongside the primary tooltip. Informational by default — no action buttons (the primary tooltip owns the tour controls); use tooltipBuilder for an interactive slot (it receives the same context as the primary's builder).

Annotations

Constructors

HintTooltip({required TooltipPosition position, String? title, String? description, Widget tooltipBuilder(BuildContext context, HintStep step, HintTooltipContext ctx)?})
const

Properties

description String?
final
hashCode int
The hash code for this object.
no setterinherited
position TooltipPosition
Preferred side relative to the primary target. An explicit side is recommended — auto re-picks by free space and may fight the primary for the same side. Mirroring still applies when the side does not fit (and the engine guarantees slots never overlap each other).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
Zero-config content; ignored when tooltipBuilder is set.
final
tooltipBuilder Widget Function(BuildContext context, HintStep step, HintTooltipContext ctx)?
Fully custom content.
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