Yes, i'm use GetIt to this. example?
GetIt getIt = GetIt.instance;
void setupLocator() {
getIt.registerLazySingleton<MyGoRouterDelegate>(() => MyGoRouterDelegate());
} //call setupLocator first in void main(){..}
And can use with
routerConfig: getIt<MyGoRouterDelegate>().router,
And navigate without context with this
getIt<MyGoRouterDelegate>()
.router
.pushNamed(AppRoutes.productName, pathParameters: {'id': productModel.id.toString()}),