Theming topic
One ThemeExtension that restyles every bubble, card, caret and spotlight.
HintThemeData goes in your ThemeData.extensions and everything the package
draws follows it — tooltips, persistent hints, beacons and tour cards alike.
Set preset for a ready-made design, override individual fields beside it to
adjust one, or pass a theme: to a single Hint for a one-off.
HintTransition covers how a bubble arrives and HintArrowShape how its caret
is drawn; both take a builder when the built-in options run out.
Classes
- HintArrowGeometry Theming
- Where the caret sits and which way it points, handed to a HintArrowBuilder.
- HintThemeData Theming
- Visual configuration shared by tooltips, hints and tour step cards.
- HintTransitionInfo Theming
- Everything a HintTransitionBuilder needs to animate a bubble.
- ResolvedHintTheme Theming
- A HintThemeData with every value filled in.
Enums
- HintArrowShape Theming
- The silhouette of the caret that connects a bubble to its target.
- HintPreset Theming
- A ready-made look for hint bubbles, tour cards and spotlights.
- HintTransition Theming
- A ready-made show/hide animation for a hint bubble.
Typedefs
- HintArrowBuilder = Path Function(HintArrowGeometry geometry) Theming
- Signature for a caret of your own.
- HintTransitionBuilder = Widget Function(BuildContext context, HintTransitionInfo info, Widget child) Theming
- Signature for a bubble's show and hide animation.