SCAlertModel constructor

SCAlertModel({
  1. String? title,
  2. String? message,
  3. Color? titleTxtColor,
  4. Color? messageTxtColor,
  5. Color? closeBtnColor,
  6. SCAlertType? type,
  7. bool? barrierDismissible,
  8. ValueChanged<String>? onOkBtnTap,
  9. String? okBtnText,
  10. Color? okBtnColor,
  11. Color? okBtnTxtColor,
  12. ValueChanged<String>? onCancelBtnTap,
  13. String? cancelBtnText,
  14. Color? cancelBtnColor,
  15. Color? cancelBtnTxtColor,
  16. bool? showCancelBtn,
  17. double? borderRadius,
  18. ValueChanged<String>? onEmailTextFieldChanged,
  19. ValueChanged<String>? onPasswordTextFieldChanged,
  20. Widget? customWidget,
  21. Map<String, bool>? checkBoxAry,
  22. ValueChanged<Map<String, bool>>? onCheckBoxSelection,
  23. Map<String, int>? radioButtonAry,
  24. ValueChanged<String>? onRadioButtonSelection,
})

Implementation

SCAlertModel(
    {this.title,
      this.message,
      this.titleTxtColor,
      this.messageTxtColor,
      this.closeBtnColor,
      this.type,
      this.barrierDismissible,
      this.onOkBtnTap,
      this.okBtnText,
      this.okBtnColor,
      this.okBtnTxtColor,
      this.onCancelBtnTap,
      this.cancelBtnText,
      this.cancelBtnColor,
      this.cancelBtnTxtColor,
      this.showCancelBtn,
      this.borderRadius,
      this.onEmailTextFieldChanged,
      this.onPasswordTextFieldChanged,
      this.customWidget,
      this.checkBoxAry,
      this.onCheckBoxSelection,
      this.radioButtonAry,
      this.onRadioButtonSelection});