RangeStatCard constructor

const RangeStatCard({
  1. Key? key,
  2. required GaugeController controller,
  3. double maxRangeKm = 500,
  4. String label = 'RANGE',
  5. Color accentColor = const Color(0xFFA78BFA),
  6. double ringSize = 96,
  7. bool showGlow = true,
  8. DashboardCardStyle cardStyle = const DashboardCardStyle(),
  9. GaugeMode? mode,
})

Implementation

const RangeStatCard({
  super.key,
  required this.controller,
  this.maxRangeKm = 500,
  this.label = 'RANGE',
  this.accentColor = const Color(0xFFA78BFA),
  this.ringSize = 96,
  this.showGlow = true,
  this.cardStyle = const DashboardCardStyle(),
  this.mode,
});