NiceCircularGauge constructor
const
NiceCircularGauge({
- Key? key,
- required double value,
- double minValue = 0,
- double maxValue = 100,
- double startAngle = 135,
- double sweepAngle = 270,
- double thickness = 20,
- Color? backgroundColor,
- Color? valueColor,
- List<
NiceGaugeRange> ? ranges, - Widget? centerWidget,
- bool showValue = true,
- String? label,
- TextStyle? valueStyle,
- TextStyle? labelStyle,
- bool animated = true,
- Duration animationDuration = const Duration(milliseconds: 500),
Implementation
const NiceCircularGauge({
super.key,
required this.value,
this.minValue = 0,
this.maxValue = 100,
this.startAngle = 135,
this.sweepAngle = 270,
this.thickness = 20,
this.backgroundColor,
this.valueColor,
this.ranges,
this.centerWidget,
this.showValue = true,
this.label,
this.valueStyle,
this.labelStyle,
this.animated = true,
this.animationDuration = const Duration(milliseconds: 500),
});