MetricDisplay constructor

MetricDisplay({
  1. required String label,
  2. required String value,
  3. String? unit,
  4. MetricTrend? trend,
  5. Style? labelStyle,
  6. Style? valueStyle,
  7. Color? trendColor,
  8. Key? key,
})

Implementation

MetricDisplay({
  required this.label,
  required this.value,
  this.unit,
  this.trend,
  this.labelStyle,
  this.valueStyle,
  this.trendColor,
  super.key,
});