easyRestrictedLoader property

void get easyRestrictedLoader

Loader at the center of the screen that can't be dismissed with back button

Implementation

void get easyRestrictedLoader {
  showDialog(
    context: context,
    barrierDismissible: false,
    builder: (context) {
      return WillPopScope(
          onWillPop: () async => false,
          child: CircularProgressIndicator().alignC);
    },
  );
}