wizard_builder 1.0.0 wizard_builder: ^1.0.0 copied to clipboard
A wizard builder widget to easily create wizard.
Wizard Builder Widget #
A Flutter widget for building a wizards UI.
Usage #
- Create a wizard page by extending a widget from a WizardPage and WizardState. These exposes a onPush(), onPop() and onCloseWizard() method, which can be used in the wizard page.
- Next create a WizardBuilder
- Inject a navigation key
- Inject the list of wizard pages
- The WizardBuilder wil navigate to the firt wizard page in the list.
- When calling onPush() on the last wizard page the WizardBuilder wil close.
''' final navigatorKey = GlobalKey
WizardBuilder( navigatorKey: navigatorKey, pages: [ PageOne(), PageTwo(closeOnNavigate: true), PageThree(closeOnNavigate: true), PageTwo(), ], ); '''
TODO #
- ❌ option for showing back/close button on first page
- ❌ nested pages (or by [][] or by adding another Widgetbuilder)
- ❌ exposing page transistions
- ❌ create unit tests
Issues #
Please file any issues, bugs or feature requests as an issue on our GitHub page. Commercial support is available, you can contact us at bart.kuipers@baku-apps.com.
Author #
This WizardBuilder widget for Flutter is developed by BaKu-apps.