title: Auto_route unable to use the generated file : no name parameter with the name 'reportsRouteUpdateToEngine'
body: <p>i'm trying auto_route but i don't understand what i'm doing wrong.</p>
  <p>Here is my router.dart :</p>
  <pre><code>@MaterialAutoRouter(
    routes: &lt;AutoRoute&gt;[
      // initial route is named &quot;/&quot;
      MaterialRoute(page: HomeView, initial: true),
      MaterialRoute(page: StartupView),
    ],
  )
  class $Router {}
  </code></pre>
  <p>And here is my main.dart</p>
  <pre><code>class MyApp extends StatelessWidget {
    // This widget is the root of your application.
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        builder: ExtendedNavigator.builder(
          router: Router(),
          builder: (context, extendedNav) =&gt; Theme(
            data: ThemeData(brightness: Brightness.dark),
            child: extendedNav,
          ),
        ),
      );
    }
  }
  </code></pre>
  <p>i've run</p>
  <pre><code>flutter packages pub run build_runner build
  </code></pre>
  <p>Then when i run myApp and then i get this error :</p>
  <pre><code>Error: No named parameter with the name 'reportsRouteUpdateToEngine'.
        reportsRouteUpdateToEngine: true,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  </code></pre>
  <p>I also tried without their extendedNav, just like this :</p>
  <pre><code>class MyApp extends StatelessWidget {
    // This widget is the root of your application.
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        onGenerateRoute: Router(),
      );
    }
  }
  </code></pre>
  <p>Still doesn't work.
  Any help ?</p>