MilestoneCardWidget constructor

const MilestoneCardWidget({
  1. Key? key,
  2. required int index,
  3. required double circleRadius,
  4. required Milestone milestone,
  5. required Color color,
  6. required Color disabledColor,
  7. required Color stickColor,
  8. required double stickThickness,
  9. required bool activeWithStick,
  10. required Curve animationCurve,
  11. required Duration animationDuration,
  12. required int milestoneIntervalDurationInMillis,
  13. required bool enableAnimation,
  14. required bool showLastStick,
  15. required bool greyoutContentWithInactive,
  16. Milestone? nextMilestone,
  17. bool isLast = false,
  18. 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,
});