title: Is there any way to insert a query parameters to a named route in flutter web?
body: <p>I want to insert query parameters to a named route.</p>
  <p>I have this code on my <code>MaterialApp</code></p>
  <pre><code>Widget build(BuildContext context) {
      return MaterialApp(
      title: 'Web',
        theme: ThemeData(
          primarySwatch: Colors.amber,
        ),
        
          
      // Start the app with the &quot;/&quot; named route. In this case, the app starts
      // on the FirstScreen widget.
      initialRoute: '/login',
      routes: {
       
        '/login': (context) =&gt; LoginPage(),
        '/mainmenu': (context) =&gt; MainMenu(),
      
      },
      
    );
    }
  </code></pre>
  <p>Now I want to insert query parameters (for example id) to '/mainmenu' so when I want to navigate to the main menu page, the URL becomes for example: <code>http://localhost:57430/#/mainmenu/?id=1234</code>. Is there any way to do that? Thanks</p>