MetricItem class

Constructors

MetricItem.new({required String label, required String value, double? labelFontSize, Color? labelColor, FontWeight? labelFontWeight, double? valueFontSize, Color? valueColor, FontWeight? valueFontWeight})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
label String
Label text (e.g., "Asset Value")
final
labelColor Color?
final
labelFontSize double?
Label text styling
final
labelFontWeight FontWeight?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Value text (e.g., "₹5.42Cr")
final
valueColor Color?
final
valueFontSize double?
Value text styling
final
valueFontWeight FontWeight?
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