showLoader method

void showLoader(
  1. BuildContext context
)

Implementation

void showLoader(BuildContext context) {
  if (isLoading) return;
  isLoading = true;
  Overlay.of(context).insert(overlayEntry);
}