LearningCard constructor

const LearningCard({
  1. Key? key,
  2. required String title,
  3. required String subtitle,
  4. IconData icon = AppIcons.education,
  5. Gradient? gradient,
  6. double? progress,
  7. String? lessons,
  8. String? duration,
  9. VoidCallback? onTap,
  10. VoidCallback? onContinue,
})

Implementation

const LearningCard({
  super.key,
  required this.title,
  required this.subtitle,
  this.icon = AppIcons.education,
  this.gradient,
  this.progress,
  this.lessons,
  this.duration,
  this.onTap,
  this.onContinue,
});