yesterday, I've upgraded flutter to version 1.22.0, and every thing is ok except of this error
Couldn't infer type parameter 'T'. Tried to infer 'dynamic' for 'T' which doesn't work: Type parameter 'T' declared to extend 'RouterBase'. The type 'dynamic' was inferred from: Parameter 'router' declared as 'T' but argument is 'dynamic'. Consider passing explicit type argument(s) to the generic.
this is the code I have
return MaterialApp(
builder: ExtendedNavigator.builder(router: Router()),
...
);
I'm using the auto_route package