StepsIndicator constructor

const StepsIndicator({
  1. int selectedStep = 0,
  2. int nbSteps = 4,
  3. Color selectedStepColorOut = Colors.blue,
  4. Color selectedStepColorIn = Colors.white,
  5. Color doneStepColor = Colors.blue,
  6. Color unselectedStepColorOut = Colors.blue,
  7. Color unselectedStepColorIn = Colors.blue,
  8. Color doneLineColor = Colors.blue,
  9. Color undoneLineColor = Colors.blue,
  10. bool isHorizontal = true,
  11. double lineLength = 40,
  12. double doneLineThickness = 1,
  13. double undoneLineThickness = 1,
  14. double doneStepSize = 10,
  15. double unselectedStepSize = 10,
  16. double selectedStepSize = 14,
  17. double selectedStepBorderSize = 1,
  18. double unselectedStepBorderSize = 1,
  19. Widget? doneStepWidget,
  20. Widget? unselectedStepWidget,
  21. Widget? selectedStepWidget,
  22. List<StepsIndicatorCustomLine>? lineLengthCustomStep,
  23. bool enableLineAnimation = false,
  24. 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});