after trying to upgrade to Flutter 2 the ExtendedNavigator.builder<app_router.Router> expects RouterBase class or subclass and I can't find a way around it.
import 'package:auto_route/auto_route.dart';
import 'package:routes/router.gr.dart' as app_router;
...
child: MaterialApp(
builder: ExtendedNavigator.builder<app_router.Router>(
router: app_router.Router(),
navigatorKey: navigatorKey,
),
),
'Router' doesn't conform to the bound 'RouterBase' of the type parameter 'T'. Try using a type that is or is a subclass of 'RouterBase'.dart(type_argument_not_matching_bounds)