presentation/widgets/common/tutorial_sequence library
Classes
- TutorialSequence
- Orchestrates a multi-step onboarding tutorial by showing one SpotlightOverlay at a time for whatever step controller is currently on — composes SpotlightOverlay rather than reimplementing its highlight/callout logic; this widget is purely the step-advancing state machine around it.
- TutorialSequenceController
-
Plain
ChangeNotifierthe caller creates and owns (like aTextEditingController, same pattern as ScreenShakeController inscreen_shake.dart) — drives which step of a TutorialSequence is showing, if any. - TutorialStep
- One step of a TutorialSequence — same fields as SpotlightOverlay (which this composes, not reimplements), minus SpotlightOverlay.onDismiss (the sequence supplies that itself, wired to advance to the next step).