UGauge constructor

const UGauge({
  1. required double value,
  2. Key? key,
  3. double min = 0,
  4. double max = 100,
  5. double size = 200,
  6. List<UGaugeRange>? ranges,
  7. List<UGaugeAnnotation>? annotations,
  8. bool showTicks = true,
  9. bool showLabels = true,
  10. Color? axisColor,
  11. double? axisThickness,
  12. Color? needleColor,
  13. double needleWidth = 1,
  14. double needleKnobRadius = 0.08,
  15. Color? majorTickColor,
  16. double? majorTickLength,
  17. Color? minorTickColor,
  18. double? minorTickLength,
  19. double? labelFontSize,
  20. Color? labelColor,
})

Implementation

const UGauge({
  required this.value,
  super.key,
  this.min = 0,
  this.max = 100,
  this.size = 200,
  this.ranges,
  this.annotations,
  this.showTicks = true,
  this.showLabels = true,
  this.axisColor,
  this.axisThickness,
  this.needleColor,
  this.needleWidth = 1,
  this.needleKnobRadius = 0.08,
  this.majorTickColor,
  this.majorTickLength,
  this.minorTickColor,
  this.minorTickLength,
  this.labelFontSize,
  this.labelColor,
});