showLoadingView static method
Implementation
static void showLoadingView(BuildContext context, String message) {
showDialog(
context: context,
barrierDismissible: true,
builder: (context) {
return AlertDialog(
title: Text(message, textAlign: TextAlign.center),
content: const SizedBox(
height: 80,
child: Center(
child: SizedBox(
height: 30,
width: 30,
child: CircularProgressIndicator(),
))),
);
});
}