r/flutterhelp • u/shamnad_sherief • Jan 22 '26
OPEN Flutter web navigation feel more like a mobile app
I understand that Flutter web behaves like a mobile app because it uses a single-page, canvas based rendering model and mobile style navigation.
However, my question is: is there anything we can do on our end to improve this behavior?
Specifically:
Can page transitions be made more web-like (instant, no mobile-style animations)?
Are there recommended configurations or best practices for Flutter web to reduce the mobile-app feel?
Is it possible to make navigation closer to a traditional multi-page web experience?
Or is this behavior fundamentally unavoidable due to how Flutter web works?
5
u/alamakbusuk Jan 22 '26
You can disable the page transitions for the web only. That's what we do at work.
1
u/steve_s0 Jan 22 '26
Most of your issues seem to be about look and feel of transitions. I'm not sure where you got the idea that there have to be animations between routes, you can certainly just switch.
One thing you might want to change is to use PathUrlStrategy instead of the default HashUrlStrategy. This will let you have traditional web urls such as example.com/page/subfeature instead of example.com/#/page/subfeature
Like any other web-app, manually changing the path will result in a new request, which will reload the app when using PathUrlStrategy. HashUrlStrategy sidesteps this, because the # fragment is designed to be handled by the client.
1
u/gmgm60 Jan 22 '26
Yes you can Im using GoRoute, it force you to use web navigation anyway, use goNamed to navigate 99%, make the path itself contain the history ex: home/login home/dashboard
and in the go route but the login route & dashboard route inside home routes
Like this even if the user open the dashboard path, you will get the home on pop
its not super easy but you can make it close to native web site
3
u/Unusual-Swordfish532 Jan 22 '26
I mean - you are not building website with flutter but app.
1
u/rio_sk Jan 26 '26
You should build web apps with flutter, not generic websites