ZetaStepper constructor
- required List<
ZetaStep> steps, - required int currentStep,
- ZetaStepperType type = ZetaStepperType.horizontal,
- ValueChanged<
int> ? onStepTapped, - bool? rounded,
- Key? key,
Creates a stepper from a list of steps.
This widget is not meant to be rebuilt with a different list of steps unless a key is provided in order to distinguish the old stepper from the new one.
Implementation
const ZetaStepper({
required this.steps,
required this.currentStep,
this.type = ZetaStepperType.horizontal,
this.onStepTapped,
super.rounded,
super.key,
});