StepIndicator constructor
const
StepIndicator({
- Key? key,
- Color? colorCompleted,
- Color? colorLineCompleted,
- Color? colorIncomplete,
- Color? colorLineIncomplete,
- Color? colorSelected,
- Widget? completedStep,
- bool expanded = false,
- Widget? incompleteStep,
- double itemSize = 16.0,
- double? lineLength,
- double? lineWidth,
- EdgeInsetsGeometry padding = const EdgeInsets.all(4.0),
- Widget? selectedStep,
- bool showLines = false,
- required int selectedStepIndex,
- 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);