HintStep constructor

const HintStep({
  1. required String targetId,
  2. String? title,
  3. String? description,
  4. TooltipPosition position = TooltipPosition.auto,
  5. Duration? waitTimeout,
  6. bool showSkip = true,
  7. Widget tooltipBuilder(
    1. BuildContext context,
    2. HintStep step,
    3. 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)',
      );