showLoading function

ExtendedOverlayEntry? showLoading({
  1. Widget? custom,
  2. LoadingBuilder? builder,
  3. LoadingOptions? options,
  4. Widget? extra,
  5. LoadingProgressIndicator? progressIndicator,
  6. LoadingStyle? style,
})

loading 加载框 关闭 closeLoading();

Implementation

ExtendedOverlayEntry? showLoading({
  /// 通常使用自定义的
  Widget? custom,

  /// builder
  LoadingBuilder? builder,

  /// 底层模态框配置
  LoadingOptions? options,

  /// 以下为 ProgressIndicator 配置
  /// 官方 ProgressIndicator 底部加个组件
  Widget? extra,
  LoadingProgressIndicator? progressIndicator,
  LoadingStyle? style,
}) =>
    Loading(
            builder: builder,
            custom: custom,
            extra: extra,
            options: options,
            progressIndicator: progressIndicator,
            style: style)
        .show();