SpeedStatCard constructor
const
SpeedStatCard({
- Key? key,
- required GaugeController controller,
- double max = 240,
- String unitText = 'km/h',
- String label = 'SPEED',
- Color accentColor = const Color(0xFF4F8CFF),
- double ringSize = 140,
- double trackWidth = 10,
- bool showGlow = true,
- DashboardCardStyle cardStyle = const DashboardCardStyle(),
- 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,
});