StatisticCard constructor

const StatisticCard({
  1. Key? key,
  2. required String title,
  3. required String value,
  4. IconData icon = AppIcons.analytics,
  5. Color? iconColor,
  6. Gradient? gradient,
  7. String? trend,
  8. bool trendUp = true,
  9. String? subtitle,
  10. VoidCallback? onTap,
  11. String? prefix,
  12. String? suffix,
})

Implementation

const StatisticCard({
  super.key,
  required this.title,
  required this.value,
  this.icon = AppIcons.analytics,
  this.iconColor,
  this.gradient,
  this.trend,
  this.trendUp = true,
  this.subtitle,
  this.onTap,
  this.prefix,
  this.suffix,
});