FormWizard constructor
const
FormWizard({
- Key? key,
- required List<
WizardStep> steps, - required VoidCallback onCompleted,
- VoidCallback? onCancel,
- int initialStep = 0,
- String nextLabel = 'Next',
- String prevLabel = 'Back',
- String finishLabel = 'Submit',
- 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',
});