Wizard constructor

Wizard({
  1. required List<WizardFormStep> steps,
  2. String? title,
  3. bool showProgress = true,
  4. bool showStepIndicator = true,
  5. Map<String, dynamic> initialAnswers = const {},
  6. ValueCmdCallback<Map<String, dynamic>>? onCompleted,
  7. CmdCallback? onCancelled,
  8. CmdCallback? onExit,
  9. int? width,
  10. String nextLabel = 'Next',
  11. String finishLabel = 'Finish',
  12. String backLabel = 'Back',
  13. String cancelLabel = 'Cancel',
  14. String exitLabel = 'Quit',
  15. bool showHelp = true,
  16. 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,
});