FormWizard constructor

const FormWizard({
  1. Key? key,
  2. required List<WizardStep> steps,
  3. required VoidCallback onCompleted,
  4. VoidCallback? onCancel,
  5. int initialStep = 0,
  6. String nextLabel = 'Next',
  7. String prevLabel = 'Back',
  8. String finishLabel = 'Submit',
  9. String cancelLabel = 'Cancel',
})

Implementation

const FormWizard({
  super.key,
  required this.steps,
  required this.onCompleted,
  this.onCancel,
  this.initialStep = 0,
  this.nextLabel = 'Next',
  this.prevLabel = 'Back',
  this.finishLabel = 'Submit',
  this.cancelLabel = 'Cancel',
});