HintTargetX extension

Ergonomic sugar over HintTarget: child.withHint('id') instead of HintTarget(id: 'id', child: child). Keep HintTarget for full control (custom registry, semantics) — this is just the short path.

on

Methods

withHint(String id, {Key? key, HintTargetRegistry? registry, String? semanticsLabel, FocusShape? focusShape, double? focusPadding}) Widget

Available on Widget, provided by the HintTargetX extension

Wrap this widget as a tour target.