FXOkCancelDialog constructor

const FXOkCancelDialog({
  1. Key? key,
  2. Widget? icon,
  3. required String title,
  4. Color? titleColor,
  5. String? content,
  6. Color? contentColor,
  7. String okTestKey = '',
  8. dynamic onOK()?,
  9. String? okText,
  10. Color? okColor,
  11. bool isGradient = false,
  12. Color? gradientColor1,
  13. Color? gradientColor2,
  14. bool showCancel = true,
  15. String cancelTestKey = '',
  16. dynamic onCancel()?,
  17. 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);