DefaultDialog constructor

DefaultDialog({
  1. String? message,
  2. dynamic onCloseModal()?,
  3. Color? messageColor,
  4. String? header,
  5. dynamic onCancel()?,
  6. RothkoButton? button,
  7. bool? withCancelButton = true,
  8. String? buttonText,
  9. IconData? dialogIcon,
  10. Color? iconColor,
  11. Color? buttonColor,
  12. Color? bannerColor,
  13. Color? buttonTextColor,
  14. dynamic onTapAction()?,
  15. double? width,
  16. double? buttonWidth,
  17. double? msgFontSize,
})

Implementation

DefaultDialog(
    {this.message,
    this.onCloseModal,
    this.messageColor,
    this.header,
    this.onCancel,
    this.button,
    this.withCancelButton = true,
    this.buttonText,
    this.dialogIcon,
    this.iconColor,
    this.buttonColor,
    this.bannerColor,
    this.buttonTextColor,
    this.onTapAction,
    this.width,
    this.buttonWidth,
    this.msgFontSize});