SpeedStatCard constructor

const SpeedStatCard({
  1. Key? key,
  2. required GaugeController controller,
  3. double max = 240,
  4. String unitText = 'km/h',
  5. String label = 'SPEED',
  6. Color accentColor = const Color(0xFF4F8CFF),
  7. double ringSize = 140,
  8. double trackWidth = 10,
  9. bool showGlow = true,
  10. DashboardCardStyle cardStyle = const DashboardCardStyle(),
  11. GaugeMode? mode,
})

Implementation

const SpeedStatCard({
  super.key,
  required this.controller,
  this.max = 240,
  this.unitText = 'km/h',
  this.label = 'SPEED',
  this.accentColor = const Color(0xFF4F8CFF),
  this.ringSize = 140,
  this.trackWidth = 10,
  this.showGlow = true,
  this.cardStyle = const DashboardCardStyle(),
  this.mode,
});