Stepper constructor
const
Stepper({
- Key? key,
- required int currentStep,
- List<
String> steps = const <String>[], - ValueChanged<
int> ? onStepTap, - Axis direction = Axis.vertical,
- Color? color,
- bool compact = false,
- double size = 32,
- List<
StepState> ? stepStates, - List<
IconData?> ? stepIcons, - List<
String?> ? stepSubtitles, - bool showContent = false,
- Widget stepContent(
- int index
- Widget? nextButton,
- Widget? previousButton,
- VoidCallback? onStepContinue,
- VoidCallback? onStepCancel,
- Widget controlsBuilder(
- BuildContext context,
- int step,
- VoidCallback? onContinue,
- 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,
});