ProgressRing constructor
const
ProgressRing({})
Implementation
const ProgressRing({
super.key,
required this.value,
this.size = 100,
this.strokeWidth = 12,
this.gradient,
this.trackColor,
this.startAngle = -math.pi / 2,
this.animationDuration = const Duration(milliseconds: 900),
this.animationCurve = Curves.easeOut,
this.child,
}) : assert(value >= 0 && value <= 1, 'value must be between 0 and 1');