TimeLineStatus constructor
const
TimeLineStatus({
- required List<
String> statuses, - required int currentPosition,
- Color currentStepBackground = sunflowerYellow,
- Color currentStepNumberTextColor = black,
- Color activatedStepBackground = sunflowerYellow,
- Color activatedStepNumberTextColor = white,
- Color inActivatedStepBackground = redAccent,
- Color inActivatedStepNumberTextColor = sunflowerYellow,
- double height = 70,
- EdgeInsets wholePadding = const EdgeInsets.only(top: 15, left: 10, right: 10),
- Color backgroundColor = white,
- double textSize = 18,
- double pointCircleRadius = 25,
Implementation
const TimeLineStatus({
required this.statuses,
required this.currentPosition,
this.currentStepBackground = sunflowerYellow,
this.currentStepNumberTextColor = black,
this.activatedStepBackground = sunflowerYellow,
this.activatedStepNumberTextColor = white,
this.inActivatedStepBackground = redAccent,
this.inActivatedStepNumberTextColor = sunflowerYellow,
this.height = 70,
this.wholePadding = const EdgeInsets.only(
top: 15,
left: 10,
right: 10,
),
this.backgroundColor = white,
this.textSize = 18,
this.pointCircleRadius = 25,
});