FXOkCancelDialog constructor
const
FXOkCancelDialog({
- Key? key,
- Widget? icon,
- required String title,
- Color? titleColor,
- String? content,
- Color? contentColor,
- String okTestKey = '',
- dynamic onOK()?,
- String? okText,
- Color? okColor,
- bool isGradient = false,
- Color? gradientColor1,
- Color? gradientColor2,
- bool showCancel = true,
- String cancelTestKey = '',
- dynamic onCancel()?,
- String? cancelText,
Implementation
const FXOkCancelDialog({
Key? key,
this.icon,
required this.title,
this.titleColor,
this.content,
this.contentColor,
this.okTestKey = '',
this.onOK,
this.okText,
this.okColor,
this.isGradient = false,
this.gradientColor1,
this.gradientColor2,
this.showCancel = true,
this.cancelTestKey = '',
this.onCancel,
this.cancelText,
}) : super(key: key);