AnotherStepper constructor
const
AnotherStepper({
- Key? key,
- required List<
StepperData> stepperList, - double verticalGap = 40,
- int activeIndex = 0,
- required Axis stepperDirection,
- bool inverted = false,
- Color activeBarColor = Colors.blue,
- Color inActiveBarColor = Colors.grey,
- double barThickness = 2,
- ScrollPhysics? scrollPhysics,
- double iconHeight = 20,
- double iconWidth = 20,
Another stepper is a package, which helps build customizable and easy to manage steppers.
The package can be used to build horizontal as well
as vertical steppers just by providing Axis in the stepperDirection
parameter.
Implementation
const AnotherStepper({
Key? key,
required this.stepperList,
this.verticalGap = 40,
this.activeIndex = 0,
required this.stepperDirection,
this.inverted = false,
this.activeBarColor = Colors.blue,
this.inActiveBarColor = Colors.grey,
this.barThickness = 2,
this.scrollPhysics,
this.iconHeight = 20,
this.iconWidth = 20,
}) : assert(verticalGap >= 0),
super(key: key);