title: How to show Flutter Web route name in the URL with onGenerateRoute?
body: <p>I'm using onGenerateRoute parameter on MaterialApp for routing.</p>
  
  <pre><code>MaterialApp(
    ...
    onGenerateRoute: Router.generateRoute,
    ...
  )
  </code></pre>
  
  <p>And then use <code>pushNamed()</code>.</p>
  
  <p>I want to show my route names in the url but I can't achieve that with onGenerateRoute.</p>
  
  <p>If I use <code>routes:</code> in MaterialApp,</p>
  
  <p>like this: </p>
  
  <pre><code>  MaterialApp(
      ...
      routes: {sliverScreen: (context) =&gt; SliverScreen()},
      ...
    )
  </code></pre>
  
  <p>It  works. But I think it's redundant if I have provided onGenerateRoute on MaterialApp.</p>