showLoading function

void showLoading({
  1. String? status,
  2. Widget? indicator,
  3. EasyLoadingMaskType? maskType,
  4. bool? dismissOnTap,
})

Implementation

void showLoading({
  String? status,
  Widget? indicator,
  EasyLoadingMaskType? maskType,
  bool? dismissOnTap,
}) {
  if (baseDefaultShowLoadingHandler != null) {
    baseDefaultShowLoadingHandler?.call();
  } else {
    EasyLoading.show(
        status: status,
        indicator: indicator ?? baseDefaultAnimationImage,
        maskType: maskType,
        dismissOnTap: dismissOnTap);
  }
}