NestedCircularProgress constructor
const
NestedCircularProgress({})
Creates a NestedCircularProgress widget.
progressmust be between 0 and 100.progressColorsets the arc color (default: Colors.blue).progressBackgroundColorsets the circle color (default: Colors.grey).sizecontrols the diameter of the widget (default: 150).animationDurationcontrols how long the progress animates (default: 2s).strokeWidthcontrols the arc thickness (default: 12).childplaces a widget in the center.
Implementation
const NestedCircularProgress({
super.key,
required this.progress,
this.progressColor = Colors.blue,
this.progressBackgroundColor = Colors.grey,
this.size = 150,
this.animationDuration = const Duration(seconds: 2),
this.strokeWidth = 12,
this.child,
});