Wizard State Persistence Provider
Component Detail
Infrastructure
low complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Riverpod provider configuration applying the keepAlive modifier to the WizardStepController, preventing garbage collection when the wizard is backgrounded. Exposes an explicit dispose entry point called on wizard completion or cancellation to release memory after the flow ends.
wizard-state-persistence
Responsibilities
- Configure Riverpod keepAlive on the WizardStepController provider
- Expose disposeWizardState() called on wizard completion or explicit user cancellation
- Prevent partial entry loss across Flutter lifecycle pause and detach events
Interfaces
wizardControllerProvider (AutoDisposeNotifierProvider + keepAlive)
disposeWizardState()