MetricsCardRow class

One published metric tile: the def carries key/label/unit; subtitle is an optional consumer marketing line under the tile.

Constructors

MetricsCardRow({required String key, required String label, required String unit, String? subtitle})
const
MetricsCardRow.fromDef(MetricDef def, {String? subtitle})
Row def from a MetricDef (canonical label/unit) + optional subtitle.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
final
label String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String?
final
unit String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited