HintStep constructor
const
HintStep({
- required String targetId,
- String? title,
- String? description,
- TooltipPosition position = TooltipPosition.auto,
- Duration? waitTimeout,
- bool showSkip = true,
- Widget tooltipBuilder(
- BuildContext context,
- HintStep step,
- HintTooltipContext ctx
Implementation
const HintStep({
required this.targetId,
this.title,
this.description,
this.position = TooltipPosition.auto,
this.waitTimeout,
this.showSkip = true,
this.tooltipBuilder,
}) : assert(targetId != '', 'HintStep.targetId must not be empty'),
assert(
title != null || tooltipBuilder != null,
'HintStep must have title/description (zero-config) or tooltipBuilder'
' (custom tooltip)',
);