showCustomDialog method
Implementation
Future<void> showCustomDialog(
BuildContext context, Widget alertDialog) async {
return showDialog<void>(
context: context,
barrierDismissible: true,
builder: (BuildContext _context) {
return alertDialog;
},
);
}