SCAlertModel constructor
SCAlertModel({
- String? title,
- String? message,
- Color? titleTxtColor,
- Color? messageTxtColor,
- Color? closeBtnColor,
- SCAlertType? type,
- bool? barrierDismissible,
- ValueChanged<
String> ? onOkBtnTap, - String? okBtnText,
- Color? okBtnColor,
- Color? okBtnTxtColor,
- ValueChanged<
String> ? onCancelBtnTap, - String? cancelBtnText,
- Color? cancelBtnColor,
- Color? cancelBtnTxtColor,
- bool? showCancelBtn,
- double? borderRadius,
- ValueChanged<
String> ? onEmailTextFieldChanged, - ValueChanged<
String> ? onPasswordTextFieldChanged, - Widget? customWidget,
- Map<
String, bool> ? checkBoxAry, - ValueChanged<
Map< ? onCheckBoxSelection,String, bool> > - Map<
String, int> ? radioButtonAry, - 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});