progress static method
dynamic
progress(})
Implementation
static progress(
context, {
double radius = 8,
String subtitle = "Loading...",
Color backgroundColor = Colors.white,
TextStyle textStyle = const TextStyle(),
double circularIndicatorStrokeWidth = 2,
Color progressIndicatorColor = Colors.blue,
ProgressType progressType = ProgressType.circular,
}) =>
showDialog(
context: context,
barrierDismissible: false,
builder: (BuildContext context) => ProgressDialog(
radius: radius,
style: textStyle,
subtitle: subtitle,
progressType: progressType,
backgroundColor: backgroundColor,
progressIndicatorColor: progressIndicatorColor,
circularIndicatorStrokeWidth: circularIndicatorStrokeWidth,
),
);