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