widgets/tour_offer library
Classes
- HintTourOfferLabels
- Localizable texts of the offer dialog. All fields have defaults — pass a const with overrides for a product's own wording/l10n.
Enums
- HintTourOfferResult
- What happened with the "Want a tour?" pre-dialog.
Functions
-
showHintTourOffer(
{required BuildContext context, required HintController controller, required HintTour tour, required HintStore store, required String pageId, String? minVersion, HintTourOfferLabels labels = const HintTourOfferLabels()}) → Future< HintTourOfferResult> -
Show the pre-tour offer dialog — "Want a tour?" with an
"Apply to all pages" checkbox — and start
touron accept.