ProgressRing constructor

const ProgressRing({
  1. Key? key,
  2. required double value,
  3. required Size size,
  4. Duration duration = const Duration(seconds: 2),
  5. double strokeW = 10,
  6. TextStyle? textStyle,
  7. StrokeCap? strokeCap,
  8. Text? text,
  9. ProgressController? progerssController,
  10. Color circularRingColor = Colors.black38,
  11. Color progressColor = Colors.pinkAccent,
})

Implementation

const ProgressRing(
    {Key? key,
    required this.value,
    required this.size,
    this.duration = const Duration(seconds: 2),
    this.strokeW = 10,
    this.textStyle,
    this.strokeCap,
    this.text,
    this.progerssController,
    this.circularRingColor = Colors.black38,
    this.progressColor = Colors.pinkAccent})
    : super(key: key);