openModalAsyncWithArgs<T> static method
Future<T?>
openModalAsyncWithArgs<T>(
- GoRouter router,
- NavigationStorage storage,
- String modalId,
- dynamic args,
Like openModalWithArgs, but returns a Future with the close result.
Implementation
static Future<T?> openModalAsyncWithArgs<T>(
GoRouter router,
NavigationStorage storage,
String modalId,
dynamic args,
) {
storage.modalArgs[modalId] = args;
return openModalAsync<T>(router, storage, modalId);
}