HintTooltip constructor

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

Implementation

const HintTooltip({
  required this.position,
  this.title,
  this.description,
  this.tooltipBuilder,
}) : assert(
        title != null || tooltipBuilder != null,
        'HintTooltip must have title/description (zero-config) or '
        'tooltipBuilder (custom tooltip)',
      );