showLoadingBarrier function
Shows an non-dismissible barrier with a CircularProgressIndicator. Used to show progress and block user input when signing in.
Implementation
void showLoadingBarrier({required BuildContext context}) {
showDialog(
context: context,
builder: (BuildContext context) {
return _LoadingBarrier();
},
barrierDismissible: false,
);
}