PlexStatCard constructor

const PlexStatCard({
  1. Key? key,
  2. required String label,
  3. required String value,
  4. String? unit,
  5. String? hint,
  6. String? delta,
  7. PlexStatDirection direction = PlexStatDirection.flat,
  8. bool invert = false,
  9. IconData? icon,
  10. PlexStatIconTone iconTone = PlexStatIconTone.info,
  11. PlexStatSurface tone = PlexStatSurface.standard,
  12. PlexStatStripe? stripe,
  13. double? progress,
  14. VoidCallback? onTap,
  15. Widget? child,
})

Implementation

const PlexStatCard({
  super.key,
  required this.label,
  required this.value,
  this.unit,
  this.hint,
  this.delta,
  this.direction = PlexStatDirection.flat,
  this.invert = false,
  this.icon,
  this.iconTone = PlexStatIconTone.info,
  this.tone = PlexStatSurface.standard,
  this.stripe,
  this.progress,
  this.onTap,
  this.child,
});