utils/dialog_helper library
Functions
-
showAlertDialog<
T> (BuildContext context, {String? title, String? content, VoidCallback? onClose, VoidCallback? onOk, String titleClose = 'Close', String titleOk = 'Ok', bool barrierDismissible = true, }) → Future< T?> - actions: a builder with dismiss callback to dismiss the dialog