showAlertDialog method
Show any widget as an alert dialog. This is a helper, and any customisation of the barrier should mean making your own.
Implementation
Future<void> showAlertDialog(Widget widget, {bool barrierDismissible = true}) async {
await showDialog(
context: inqvine.context,
useSafeArea: true,
barrierDismissible: barrierDismissible,
builder: (_) {
return widget;
},
);
}