IconStepper constructor
IconStepper({
- List<
Icon> ? icons, - bool enableNextPreviousButtons = true,
- bool enableStepTapping = true,
- Icon? previousButtonIcon,
- Icon? nextButtonIcon,
- OnStepReached? onStepReached,
- Axis direction = Axis.horizontal,
- Color? stepColor,
- double stepPadding = 1.0,
- Color? activeStepColor,
- Color? activeStepBorderColor,
- double activeStepBorderWidth = 0.5,
- double activeStepBorderPadding = 5.0,
- Color? lineColor,
- double lineLength = 50.0,
- double lineDotRadius = 1.0,
- double stepRadius = 24.0,
- Curve stepReachedAnimationEffect = Curves.bounceOut,
- Duration stepReachedAnimationDuration = const Duration(seconds: 1),
- bool steppingEnabled = true,
- bool scrollingDisabled = false,
- int activeStep = 0,
- AlignmentGeometry alignment = Alignment.center,
Creates an IconStepper widget.
Implementation
IconStepper({
this.icons,
this.enableNextPreviousButtons = true,
this.enableStepTapping = true,
this.previousButtonIcon,
this.nextButtonIcon,
this.onStepReached,
this.direction = Axis.horizontal,
this.stepColor,
this.stepPadding = 1.0,
this.activeStepColor,
this.activeStepBorderColor,
this.activeStepBorderWidth = 0.5,
this.activeStepBorderPadding = 5.0,
this.lineColor,
this.lineLength = 50.0,
this.lineDotRadius = 1.0,
this.stepRadius = 24.0,
this.stepReachedAnimationEffect = Curves.bounceOut,
this.stepReachedAnimationDuration = const Duration(seconds: 1),
this.steppingEnabled = true,
this.scrollingDisabled = false,
this.activeStep = 0,
this.alignment = Alignment.center,
});