MilestoneCardWidget constructor
const
MilestoneCardWidget({
- Key? key,
- required int index,
- required double circleRadius,
- required Milestone milestone,
- required Color color,
- required Color disabledColor,
- required Color stickColor,
- required double stickThickness,
- required bool activeWithStick,
- required Curve animationCurve,
- required Duration animationDuration,
- required int milestoneIntervalDurationInMillis,
- required bool enableAnimation,
- required bool showLastStick,
- required bool greyoutContentWithInactive,
- Milestone? nextMilestone,
- bool isLast = false,
- Widget? generalMilestonIcon,
Implementation
const MilestoneCardWidget({
super.key,
required this.index,
required this.circleRadius,
required this.milestone,
required this.color,
required this.disabledColor,
required this.stickColor,
required this.stickThickness,
required this.activeWithStick,
required this.animationCurve,
required this.animationDuration,
required this.milestoneIntervalDurationInMillis,
required this.enableAnimation,
required this.showLastStick,
required this.greyoutContentWithInactive,
this.nextMilestone,
this.isLast = false,
this.generalMilestonIcon,
});