ZetaStepper constructor

const ZetaStepper(
  1. {required List<ZetaStep> steps,
  2. required int currentStep,
  3. ZetaStepperType type = ZetaStepperType.horizontal,
  4. ValueChanged<int>? onStepTapped,
  5. bool rounded = true,
  6. 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,
  this.rounded = true,
  super.key,
});