NiceCircularGauge constructor

const NiceCircularGauge({
  1. Key? key,
  2. required double value,
  3. double minValue = 0,
  4. double maxValue = 100,
  5. double startAngle = 135,
  6. double sweepAngle = 270,
  7. double thickness = 20,
  8. Color? backgroundColor,
  9. Color? valueColor,
  10. List<NiceGaugeRange>? ranges,
  11. Widget? centerWidget,
  12. bool showValue = true,
  13. String? label,
  14. TextStyle? valueStyle,
  15. TextStyle? labelStyle,
  16. bool animated = true,
  17. 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),
});