showCustomDialog<T> method
Shows a dialog using the stored navigator key
Implementation
Future<T?> showCustomDialog<T>({
required Widget dialog,
bool barrierDismissible = true,
}) async {
return showDialog<T>(
context: _config.navigatorKey.currentContext!,
barrierDismissible: barrierDismissible,
builder: (context) => dialog,
);
}