Wizard constructor
Wizard({
- required List<
WizardFormStep> steps, - String? title,
- bool showProgress = true,
- bool showStepIndicator = true,
- Map<
String, dynamic> initialAnswers = const {}, - ValueCmdCallback<
Map< ? onCompleted,String, dynamic> > - CmdCallback? onCancelled,
- CmdCallback? onExit,
- int? width,
- String nextLabel = 'Next',
- String finishLabel = 'Finish',
- String backLabel = 'Back',
- String cancelLabel = 'Cancel',
- String exitLabel = 'Quit',
- bool showHelp = true,
- Key? key,
Implementation
Wizard({
required this.steps,
this.title,
this.showProgress = true,
this.showStepIndicator = true,
this.initialAnswers = const {},
this.onCompleted,
this.onCancelled,
this.onExit,
this.width,
this.nextLabel = 'Next',
this.finishLabel = 'Finish',
this.backLabel = 'Back',
this.cancelLabel = 'Cancel',
this.exitLabel = 'Quit',
this.showHelp = true,
super.key,
});