NiceProgressRing constructor

const NiceProgressRing({
  1. Key? key,
  2. required double value,
  3. double size = 120,
  4. double strokeWidth = 12,
  5. Color? color,
  6. Color? backgroundColor,
  7. String? centerLabel,
  8. String? centerValue,
  9. bool showPercentage = true,
  10. Widget? centerWidget,
})

Implementation

const NiceProgressRing({
  super.key,
  required this.value,
  this.size = 120,
  this.strokeWidth = 12,
  this.color,
  this.backgroundColor,
  this.centerLabel,
  this.centerValue,
  this.showPercentage = true,
  this.centerWidget,
});