SweetAlertOptions constructor

SweetAlertOptions({
  1. bool? showCancelButton = false,
  2. String? title,
  3. String? subtitle,
  4. SweetAlertOnPress? onPress,
  5. Color? cancelButtonColor,
  6. String? cancelButtonText,
  7. Color? confirmButtonColor,
  8. String? confirmButtonText,
  9. SweetAlertStyle? style,
})

Implementation

SweetAlertOptions(
    {this.showCancelButton = false,
    this.title,
    this.subtitle,
    this.onPress,
    this.cancelButtonColor,
    this.cancelButtonText,
    this.confirmButtonColor,
    this.confirmButtonText,
    this.style});