UGauge constructor
const
UGauge({
- required double value,
- Key? key,
- double min = 0,
- double max = 100,
- double size = 200,
- List<
UGaugeRange> ? ranges, - List<
UGaugeAnnotation> ? annotations, - bool showTicks = true,
- bool showLabels = true,
- Color? axisColor,
- double? axisThickness,
- Color? needleColor,
- double needleWidth = 1,
- double needleKnobRadius = 0.08,
- Color? majorTickColor,
- double? majorTickLength,
- Color? minorTickColor,
- double? minorTickLength,
- double? labelFontSize,
- 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,
});