CircularGauge constructor

const CircularGauge({
  1. Key? key,
  2. required String title,
  3. required double min,
  4. required double max,
  5. required double value,
  6. required String unit,
  7. required Color color,
  8. double? size,
  9. EdgeInsetsGeometry? padding,
  10. CircularGaugeTheme? theme,
  11. bool showTicks = true,
  12. bool showLabels = true,
  13. bool showProgressArc = true,
  14. CircularTitleBuilder? titleBuilder,
  15. CircularValueBuilder? valueBuilder,
  16. CircularNeedleBuilder? needleBuilder,
})

CircularGauge creates a circular gauge widget.

Implementation

const CircularGauge({
  super.key,
  required this.title,
  required this.min,
  required this.max,
  required this.value,
  required this.unit,
  required this.color,
  this.size,
  this.padding,
  this.theme,
  this.showTicks = true,
  this.showLabels = true,
  this.showProgressArc = true,
  this.titleBuilder,
  this.valueBuilder,
  this.needleBuilder,
});