CustomDialog constructor

CustomDialog({
  1. required String title,
  2. required String description,
  3. required String buttonText,
  4. required String type,
  5. required BuildContext contextBack,
  6. required Future callback,
})

Implementation

CustomDialog({
  required this.title,
  required this.description,
  required this.buttonText,
  required this.type,
  required this.contextBack,
  required this.callback
});