showLoading function
loading 加载框 关闭 closeLoading();
Implementation
ExtendedOverlayEntry? showLoading({
/// 通常使用自定义的
Widget? custom,
/// 底层模态框配置
ModalWindowsOptions? options,
/// 官方 ProgressIndicator 底部加个组件
Widget? extra,
/// 以下为官方三个 ProgressIndicator 配置
double? value,
Color? backgroundColor,
Animation<Color>? valueColor,
double strokeWidth = 4.0,
String? semanticsLabel,
String? semanticsValue,
LoadingStyle? style,
}) =>
Loading(
custom: custom,
extra: extra,
options: options,
value: value,
backgroundColor: backgroundColor,
valueColor: valueColor,
strokeWidth: strokeWidth,
semanticsLabel: semanticsLabel,
semanticsValue: semanticsValue,
style: style)
.show();