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, String titleBuilder(BuildContext)?, String descriptionBuilder(BuildContext)?, Widget tooltipBuilder(BuildContext context, HintStep step, HintTooltipContext ctx)?})
-
const
-
HintTooltip.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description → String?
-
final
- descriptionBuilder → String Function(BuildContext)?
-
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
- titleBuilder → String Function(BuildContext)?
-
Localized builders; takes precedence over title/description.
final
- tooltipBuilder → Widget Function(BuildContext context, HintStep step, HintTooltipContext ctx)?
-
Fully custom content.
final
Methods
-
effectiveDescription(
BuildContext context) → String? -
effectiveTitle(
BuildContext context) → String? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited