showActivityIndicator method
Shows the activity indicator.
Implementation
void showActivityIndicator({BuildContext? context, Map? props}) {
if (activityIndicatorRoute != null) {
return;
}
activityIndicatorRoute = DialogRoute(
context: context ?? appContext,
builder: (context) => buildActivityIndicator(context),
barrierColor: Colors.transparent,
barrierDismissible: false,
useSafeArea: false,
);
appNavigator.push(activityIndicatorRoute!);
}