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, bool useRootNavigator = false}) Future<T?>
actions: a builder with dismiss callback to dismiss the dialog