ImageStepper constructor

ImageStepper({
  1. List<ImageProvider>? images,
  2. bool enableNextPreviousButtons = true,
  3. bool enableStepTapping = true,
  4. Icon? previousButtonIcon,
  5. Icon? nextButtonIcon,
  6. OnStepReached? onStepReached,
  7. Axis direction = Axis.horizontal,
  8. Color? stepColor,
  9. double stepPadding = 0.0,
  10. Color? activeStepColor,
  11. Color? activeStepBorderColor,
  12. double activeStepBorderWidth = 0.5,
  13. double activeStepBorderPadding = 1.0,
  14. Color? lineColor,
  15. double lineLength = 50.0,
  16. double lineDotRadius = 1.0,
  17. double stepRadius = 24.0,
  18. Curve stepReachedAnimationEffect = Curves.bounceOut,
  19. Duration stepReachedAnimationDuration = const Duration(seconds: 1),
  20. bool steppingEnabled = true,
  21. bool scrollingDisabled = false,
  22. int activeStep = 0,
  23. AlignmentGeometry alignment = Alignment.center,
})

Creates an ImageStepper widget.

Implementation

ImageStepper({
  this.images,
  this.enableNextPreviousButtons = true,
  this.enableStepTapping = true,
  this.previousButtonIcon,
  this.nextButtonIcon,
  this.onStepReached,
  this.direction = Axis.horizontal,
  this.stepColor,
  this.stepPadding = 0.0,
  this.activeStepColor,
  this.activeStepBorderColor,
  this.activeStepBorderWidth = 0.5,
  this.activeStepBorderPadding = 1.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,
});