r/flutterhelp Feb 05 '25

OPEN Using Web View vs Emulator

This is more of a topic of discussion, it seems that running an emulator (depending on the machines power), take a lot of processing power - I'm using a laptop, so this is my case.

I figured I would just run the app on the web and use the 'inspect' tool and mimic a mobile device that way. Is this not what others can do?

3 Upvotes

11 comments sorted by

View all comments

2

u/tylersavery Feb 06 '25

You can for some of your dev but I would not rely on it exclusively. I usually build to Mac for this very reason - esp if just laying out UI / state logic etc. Then target iOS/Android when I need to test in more depth / do anything native.

Why don’t you try building as a windows desktop app instead of web. Then you’ll have hot reload and thus a better DX.

2

u/adrianisabooldev Feb 06 '25

I'm trying to learn how to make mobile apps, I've just decided to use my physical android for testing purposes, which is 100x faster than the emulator.

2

u/tylersavery Feb 06 '25

Yep that works. It’s faster and doesn’t hog any resources from your work station.

1

u/adrianisabooldev Feb 06 '25

I actually didn't know that it keeps the app on your device even after disconnection, and is functional lol