NiceKpiCard constructor

const NiceKpiCard({
  1. Key? key,
  2. required String label,
  3. required double value,
  4. double? target,
  5. double? min,
  6. double? max,
  7. String? unit,
  8. NiceKpiStatus status = NiceKpiStatus.normal,
  9. IconData? icon,
  10. Color? color,
  11. VoidCallback? onTap,
  12. bool showProgress = true,
})

Implementation

const NiceKpiCard({
  super.key,
  required this.label,
  required this.value,
  this.target,
  this.min,
  this.max,
  this.unit,
  this.status = NiceKpiStatus.normal,
  this.icon,
  this.color,
  this.onTap,
  this.showProgress = true,
});