StepsIndicator constructor
const
StepsIndicator({
- int selectedStep = 0,
- int nbSteps = 4,
- Color selectedStepColorOut = Colors.blue,
- Color selectedStepColorIn = Colors.white,
- Color doneStepColor = Colors.blue,
- Color unselectedStepColorOut = Colors.blue,
- Color unselectedStepColorIn = Colors.blue,
- Color doneLineColor = Colors.blue,
- Color undoneLineColor = Colors.blue,
- bool isHorizontal = true,
- double lineLength = 40,
- double doneLineThickness = 1,
- double undoneLineThickness = 1,
- double doneStepSize = 10,
- double unselectedStepSize = 10,
- double selectedStepSize = 14,
- double selectedStepBorderSize = 1,
- double unselectedStepBorderSize = 1,
- Widget? doneStepWidget,
- Widget? unselectedStepWidget,
- Widget? selectedStepWidget,
- List<
StepsIndicatorCustomLine> ? lineLengthCustomStep, - bool enableLineAnimation = false,
- bool enableStepAnimation = false,
Implementation
const StepsIndicator(
{this.selectedStep = 0,
this.nbSteps = 4,
this.selectedStepColorOut = Colors.blue,
this.selectedStepColorIn = Colors.white,
this.doneStepColor = Colors.blue,
this.unselectedStepColorOut = Colors.blue,
this.unselectedStepColorIn = Colors.blue,
this.doneLineColor = Colors.blue,
this.undoneLineColor = Colors.blue,
this.isHorizontal = true,
this.lineLength = 40,
this.doneLineThickness = 1,
this.undoneLineThickness = 1,
this.doneStepSize = 10,
this.unselectedStepSize = 10,
this.selectedStepSize = 14,
this.selectedStepBorderSize = 1,
this.unselectedStepBorderSize = 1,
this.doneStepWidget,
this.unselectedStepWidget,
this.selectedStepWidget,
this.lineLengthCustomStep,
this.enableLineAnimation = false,
this.enableStepAnimation = false});