MetricsCard constructor

const MetricsCard({
  1. Key? key,
  2. required String title,
  3. required String subtitle,
  4. required List<MetricsCardRow> rows,
  5. required Map<String, num> values,
  6. String? note,
  7. String? legend,
  8. String? lowerIsBetter = 'lower is better',
  9. MetricsCardStyle style = const MetricsCardStyle(),
})

Implementation

const MetricsCard({
  super.key,
  required this.title,
  required this.subtitle,
  required this.rows,
  required this.values,
  this.note,
  this.legend,
  this.lowerIsBetter = 'lower is better',
  this.style = const MetricsCardStyle(),
});