wizard_router library

This library provides routing for classic linear wizards in a way that it eliminates dependencies between wizard pages. Wizard pages can request the next or previous page without knowing or caring what is the next or the previous wizard page. Thus, adding, removing, or re-ordering pages does not cause changes in existing pages.

wizard_router

Classes

Wizard
A wizard is a flow of steps that the user can navigate through.
WizardController
Allows widgets such as the AppBar to invoke functionality on the Wizard This is useful for widgets that are defined above the Wizard, such as a mobile app's AppBar.
WizardRoute
WizardScope
The scope of a wizard page.
WizardScopeState
The state of a WizardScope, accessed via Wizard.of(context).

Typedefs

WizardRouteCallback = FutureOr<String?> Function(RouteSettings settings)
The signature of WizardRoute.onNext and WizardRoute.onBack callbacks.
WizardRouteLoader = FutureOr<bool> Function(RouteSettings settings)
The signature of WizardRoute.onLoad callback.

Exceptions / Errors

WizardException