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