circularProgress method
YYDialog
circularProgress({
- dynamic padding,
- dynamic backgroundColor,
- dynamic valueColor,
- dynamic strokeWidth,
Implementation
YYDialog circularProgress({padding, backgroundColor, valueColor, strokeWidth}) {
return this.widget(Padding(
padding: padding,
child: CircularProgressIndicator(
strokeWidth: strokeWidth ?? 4.0,
backgroundColor: backgroundColor,
valueColor: AlwaysStoppedAnimation<Color>(valueColor),
),
));
}