showLoading function
ExtendedOverlayEntry?
showLoading({
- Widget? custom,
- LoadingBuilder? builder,
- LoadingOptions? options,
- Widget? extra,
- LoadingProgressIndicator? progressIndicator,
- 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();