showLoading method

ExtendedOverlayEntry? showLoading(
  1. Loading loading
)

loading 加载框 关闭 closeLoading();

Implementation

ExtendedOverlayEntry? showLoading(Loading loading) {
  if (_loading != null) return _loading;
  _loading = ExtendedOverlay().showOverlay(loading);
  _loading?.addListener(_loadingListener);
  return _loading;
}