BaseAlertDialog constructor

BaseAlertDialog({
  1. Key? key,
  2. required String title,
  3. required String content,
  4. required Function yesOnPressed,
  5. required Function noOnPressed,
  6. String yes = 'Yes',
  7. String no = "No",
})

Implementation

BaseAlertDialog(
    {Key? key,
    required this.title,
    required this.content,
    required this.yesOnPressed,
    required this.noOnPressed,
    this.yes = 'Yes',
    this.no = "No"})
    : super(key: key) {}