Stepper constructor

const Stepper({
  1. Key? key,
  2. required int currentStep,
  3. List<String> steps = const <String>[],
  4. ValueChanged<int>? onStepTap,
  5. Axis direction = Axis.vertical,
  6. Color? color,
  7. bool compact = false,
  8. double size = 32,
  9. List<StepState>? stepStates,
  10. List<IconData?>? stepIcons,
  11. List<String?>? stepSubtitles,
  12. bool showContent = false,
  13. Widget stepContent(
    1. int index
    )?,
  14. Widget? nextButton,
  15. Widget? previousButton,
  16. VoidCallback? onStepContinue,
  17. VoidCallback? onStepCancel,
  18. Widget controlsBuilder(
    1. BuildContext context,
    2. int step,
    3. VoidCallback? onContinue,
    4. VoidCallback? onBack,
    )?,
})

Implementation

const Stepper({
  super.key,
  required this.currentStep,
  this.steps = const <String>[],
  this.onStepTap,
  this.direction = Axis.vertical,
  this.color,
  this.compact = false,
  this.size = 32,
  this.stepStates,
  this.stepIcons,
  this.stepSubtitles,
  this.showContent = false,
  this.stepContent,
  this.nextButton,
  this.previousButton,
  this.onStepContinue,
  this.onStepCancel,
  this.controlsBuilder,
});