DialogView constructor
const
DialogView({
- Key? key,
- required Widget? child,
- bool isShowTitle = false,
- bool isConfirm = false,
- bool isLoad = false,
- bool fullScreen = true,
- String? content,
- String? title = "温馨提示",
- String? okHint = "确定",
- String? noHint = "取消",
- 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({
Key? key,
required this.child,
this.isShowTitle = false,
this.isConfirm = false,
this.isLoad = false,
this.fullScreen = true,
this.content,
this.title = "温馨提示",
this.okHint = "确定",
this.noHint = "取消",
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);