View Flutter web on mobile

Issue

I am building a flutter web app, but I want it to behave differently on mobile and desktop.
To test it, is it possible to run the web app on a phone’s browser or in the browser of an emulator?
Thanks

Solution

No you cannot run a Flutter Web application in the mobile browser locally, if you want to test your application with a mobile format you can simulate it from a Google Chrome browser by enabling device toolbar from the developer tools Ctrl+Shift+M.

Answered By – Guillaume Roux

Answer Checked By – Katrina (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *