StepIndicator constructor

const StepIndicator({
  1. Key? key,
  2. Color? colorCompleted,
  3. Color? colorLineCompleted,
  4. Color? colorIncomplete,
  5. Color? colorLineIncomplete,
  6. Color? colorSelected,
  7. Widget? completedStep,
  8. bool expanded = false,
  9. Widget? incompleteStep,
  10. double itemSize = 16.0,
  11. double? lineLength,
  12. double? lineWidth,
  13. EdgeInsetsGeometry padding = const EdgeInsets.all(4.0),
  14. Widget? selectedStep,
  15. bool showLines = false,
  16. required int selectedStepIndex,
  17. required int totalSteps,
})

Implementation

const StepIndicator({
  Key? key,
  this.colorCompleted,
  Color? colorLineCompleted,
  this.colorIncomplete,
  Color? colorLineIncomplete,
  this.colorSelected,
  this.completedStep,
  this.expanded = false,
  this.incompleteStep,
  this.itemSize = 16.0,
  this.lineLength,
  this.lineWidth,
  this.padding = const EdgeInsets.all(4.0),
  this.selectedStep,
  this.showLines = false,
  required this.selectedStepIndex,
  required this.totalSteps,
})  : colorLineCompleted = colorLineCompleted ?? colorCompleted,
      colorLineIncomplete = colorLineIncomplete ?? colorIncomplete,
      super(key: key);