KpiCard constructor
- Key? key,
- required String label,
- required String value,
- String? valueSuffix,
- KpiDelta? delta,
- Widget? sparkline,
- Color? accent,
- bool loading = false,
- VoidCallback? onTap,
- EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(20, 18, 20, 16),
Implementation
const KpiCard({
super.key,
required this.label,
required this.value,
this.valueSuffix,
this.delta,
this.sparkline,
this.accent,
this.loading = false,
this.onTap,
this.padding = const EdgeInsets.fromLTRB(20, 18, 20, 16),
});