Flutter Web - Set parameters

Asked

Viewed 35 times

1

good afternoon!! I am developing a web page using Flutter Web. But this page has a query string with a parameter, example: "? recipeId=E4rt6yu8iod33rt". I need to take this parameter inside Flutter. I already know how to catch, but I don’t know how to put this query string in the Flutter Web debug. I’ve tried forcing, but always redirects to http://localhost:5000/#/ The logical thing was that I tried to put it before "#", so: http://localhost:5000/? recipeId=E4rt6yu8iod33rt#/, but ends up redirecting automatically to http://localhost:5000/#/. I tried to put after '#' and after '#/" too, unsuccessfully...

Has anyone here gone through this? Is there any way to keep this query string in the debug URL?

Personal thank you!

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.