TDConfirmDialog constructor
const
TDConfirmDialog({
- Key? key,
- dynamic action()?,
- Color backgroundColor = Colors.white,
- double radius = 12.0,
- String? title,
- Color titleColor = const Color(0xE6000000),
- String? content,
- Color? contentColor,
- double contentMaxHeight = 0,
- String? buttonText = '知道了',
- Color? buttonTextColor,
- TDDialogButtonStyle buttonStyle = TDDialogButtonStyle.normal,
- bool? showCloseButton,
Implementation
const TDConfirmDialog({
Key? key,
this.action,
this.backgroundColor = Colors.white,
this.radius = 12.0,
this.title,
this.titleColor = const Color(0xE6000000),
this.content,
this.contentColor,
this.contentMaxHeight = 0,
this.buttonText = '知道了',
this.buttonTextColor,
this.buttonStyle = TDDialogButtonStyle.normal,
this.showCloseButton,
}) : super(key: key);