NiceStatCard constructor

const NiceStatCard({
  1. Key? key,
  2. required String title,
  3. required String value,
  4. String? subtitle,
  5. IconData? icon,
  6. Color? iconColor,
  7. Color? backgroundColor,
  8. Widget? trend,
  9. VoidCallback? onTap,
  10. EdgeInsets? padding,
})

Implementation

const NiceStatCard({
  super.key,
  required this.title,
  required this.value,
  this.subtitle,
  this.icon,
  this.iconColor,
  this.backgroundColor,
  this.trend,
  this.onTap,
  this.padding,
});