MilestoneProgressCard.forHome constructor

const MilestoneProgressCard.forHome({
  1. Key? key,
  2. required Widget title,
  3. required Widget subtitle,
  4. required VoidCallback? onTap,
  5. required double percent,
  6. Color background = const Color(0xFF162A33),
  7. Color leftTopGradientOverlay = const Color(0xFFFFE08D),
  8. bool isCompleted = false,
})

Implementation

const MilestoneProgressCard.forHome({
  super.key,
  required this.title,
  required this.subtitle,
  required this.onTap,
  required this.percent,
  this.background = const Color(0xFF162A33),
  this.leftTopGradientOverlay = const Color(0xFFFFE08D),
  this.isCompleted = false,
});