PlexStatCard constructor
const
PlexStatCard({
- Key? key,
- required String label,
- required String value,
- String? unit,
- String? hint,
- String? delta,
- PlexStatDirection direction = PlexStatDirection.flat,
- bool invert = false,
- IconData? icon,
- PlexStatIconTone iconTone = PlexStatIconTone.info,
- PlexStatSurface tone = PlexStatSurface.standard,
- PlexStatStripe? stripe,
- double? progress,
- VoidCallback? onTap,
- 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,
});