MetricValue constructor

const MetricValue({
  1. required String key,
  2. required String label,
  3. required double value,
  4. double? previousValue,
  5. String? unit,
  6. IconData? icon,
  7. MetricTrend? trend,
})

Implementation

const MetricValue({
  required this.key,
  required this.label,
  required this.value,
  this.previousValue,
  this.unit,
  this.icon,
  this.trend,
});