StatTile constructor

const StatTile({
  1. Key? key,
  2. required String label,
  3. required String value,
  4. IconData icon = AppIcons.analytics,
  5. Gradient? gradient,
  6. String? delta,
  7. bool deltaUp = true,
  8. VoidCallback? onTap,
  9. Color? color,
  10. TextStyle? valueStyle,
  11. TextStyle? labelStyle,
})

Implementation

const StatTile({
  super.key,
  required this.label,
  required this.value,
  this.icon = AppIcons.analytics,
  this.gradient,
  this.delta,
  this.deltaUp = true,
  this.onTap,
  this.color,
  this.valueStyle,
  this.labelStyle,
});