CustomAlertDialog constructor

CustomAlertDialog({
  1. Key? key,
  2. String? title = "Successful",
  3. required String? content,
  4. Widget? icon,
  5. String? type = "INFO",
  6. String? buttonLabel = "Ok",
  7. required dynamic btn,
})

Implementation

CustomAlertDialog(
    {Key? key,
    this.title = "Successful",
    required this.content,
    this.icon,
    this.type = "INFO",
    this.buttonLabel = "Ok",
    required this.btn})
    : super(key: key);