title: How to pass parameters to flutter web app
body: <p>After hours of searching about the topic and due to lack of documentation on Flutter Web I am asking this question.</p>
  
  <p>I was trying to create a <strong>web app using flutter</strong> and had an requirement where URL such as below</p>
  
  <p><code>website.com/user/someUserCode</code></p>
  
  <p>would be called and an page will be launched where the data (<code>someUserCode</code>) will be passed to the page</p>
  
  <p>but haven't got any solutions yet to resolve it.</p>
  
  <p>so just rounding it all up,</p>
  
  <p><strong>How to pass and fetch the data using (get / post) methods to flutter web app?</strong></p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>What all I know / have tried yet</p>
  
  <p>I am using below code to read if some parameters are being to some class file</p>
  
  <pre><code>final Map&lt;String, String&gt; params = Uri.parse(html.window.location.href).queryParameters;
  String data = params["userData"];
  </code></pre>
  
  <p>all this actually solves the <code>Fetch</code> part of my question (maybe)</p>
  
  <p>but the part where that data will be passed to the page via URL is still missing.</p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>Since I haven't got any replies and was not able to find anything i raised an ticket on Flutter GitHub page <a href="https://github.com/flutter/flutter/issues/48950" rel="noreferrer">here</a></p>
  
  <p>anyone else looking for the same issue can track it there (if it gets resolve)</p>