AnalyticsKpi class

A single KPIs row inside a AnalyticsTemplate.

Constructors

AnalyticsKpi({required String label, required String value, String? delta, bool deltaUp = true, IconData icon = Icons.insights_rounded, Color? color, Gradient? gradient})
const

Properties

color → Color?
Icon color.
final
delta → String?
Trend text (e.g. +12%).
final
deltaUp → bool
Whether the trend is positive.
final
gradient → Gradient?
Icon gradient.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData
Leading icon.
final
label → String
KPI label.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
KPI value.
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