UBatteryGauge constructor

const UBatteryGauge({
  1. required double value,
  2. Key? key,
  3. double min = 0,
  4. double max = 100,
  5. double width = 200,
  6. double height = 90,
  7. double lowThreshold = 0.2,
  8. Color? lowColor,
  9. String? valueLabel,
  10. UGaugeStyle style = const UGaugeStyle(),
})

Implementation

const UBatteryGauge({
  required this.value,
  super.key,
  this.min = 0,
  this.max = 100,
  this.width = 200,
  this.height = 90,
  this.lowThreshold = 0.2,
  this.lowColor,
  this.valueLabel,
  this.style = const UGaugeStyle(),
});