DialogView.load constructor
const
DialogView.load({
- Key? key,
- Widget? child = const CircularProgressIndicator(),
- bool isShowTitle = false,
- bool isConfirm = false,
- bool isLoad = true,
- bool fullScreen = false,
- String? title,
- String? okHint,
- String? noHint,
- String? content = "加载中",
- TouchTap? onOk,
- TouchTap? onNo,
- bool expanded = false,
- Color? backgroundColor,
- num? confirmHeight,
- num? titleHeight,
- num? horizontal,
- num? vertical,
- num? minHeight,
- num? titleSize,
- num? textSize,
- num? loadWidth,
- num? loadTop,
- num? top,
- Curve insetAnimationCurve = Curves.decelerate,
- Duration insetAnimationDuration = const Duration(milliseconds: 100),
Implementation
const DialogView.load({
Key? key,
this.child = const CircularProgressIndicator(),
this.isShowTitle = false,
this.isConfirm = false,
this.isLoad = true,
this.fullScreen = false,
this.title,
this.okHint,
this.noHint,
this.content = "加载中",
this.onOk,
this.onNo,
this.expanded = false,
this.backgroundColor,
this.confirmHeight,
this.titleHeight,
this.horizontal,
this.vertical,
this.minHeight,
this.titleSize,
this.textSize,
this.loadWidth,
this.loadTop,
this.top,
this.insetAnimationCurve = Curves.decelerate,
this.insetAnimationDuration = const Duration(milliseconds: 100),
}) : super(key: key);