NiceWizard constructor

const NiceWizard({
  1. Key? key,
  2. required List<NiceWizardStep> steps,
  3. int initialStep = 0,
  4. void onStepChanged(
    1. int step
    )?,
  5. void onComplete()?,
  6. void onCancel()?,
  7. NiceWizardStyle style = NiceWizardStyle.horizontal,
  8. bool showStepIndicator = true,
  9. bool canSkipSteps = false,
  10. bool showNavigation = true,
  11. String? nextLabel,
  12. String? backLabel,
  13. String? finishLabel,
  14. String? cancelLabel,
})

Implementation

const NiceWizard({
  super.key,
  required this.steps,
  this.initialStep = 0,
  this.onStepChanged,
  this.onComplete,
  this.onCancel,
  this.style = NiceWizardStyle.horizontal,
  this.showStepIndicator = true,
  this.canSkipSteps = false,
  this.showNavigation = true,
  this.nextLabel,
  this.backLabel,
  this.finishLabel,
  this.cancelLabel,
});