FuelStatCard constructor

const FuelStatCard({
  1. Key? key,
  2. required GaugeController controller,
  3. String label = 'FUEL',
  4. Color accentColor = const Color(0xFFFB7185),
  5. Color lowColor = const Color(0xFFEF4444),
  6. double lowThreshold = 15,
  7. bool showGlow = true,
  8. DashboardCardStyle cardStyle = const DashboardCardStyle(),
  9. GaugeMode? mode,
})

Implementation

const FuelStatCard({
  super.key,
  required this.controller,
  this.label = 'FUEL',
  this.accentColor = const Color(0xFFFB7185),
  this.lowColor = const Color(0xFFEF4444),
  this.lowThreshold = 15,
  this.showGlow = true,
  this.cardStyle = const DashboardCardStyle(),
  this.mode,
});