showProcess static method
Implementation
static showProcess(BuildContext context, Color progressColor) {
return showDialog(
barrierDismissible: false,
context: context,
builder: (context) {
return Dialog(
elevation: 0,
backgroundColor: AppColors.transparent,
child: WillPopScope(
child: Center(
child: CircularProgressIndicator(
color: progressColor,
)),
onWillPop: () => Future.value(false),
),
);
},
);
}