CircularGauge constructor
const
CircularGauge({
- Key? key,
- required String title,
- required double min,
- required double max,
- required double value,
- required String unit,
- required Color color,
- double? size,
- EdgeInsetsGeometry? padding,
- CircularGaugeTheme? theme,
- bool showTicks = true,
- bool showLabels = true,
- bool showProgressArc = true,
- CircularTitleBuilder? titleBuilder,
- CircularValueBuilder? valueBuilder,
- 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,
});