When trying to run my Flutter App on Chrome it loads a blank website and in my console I only get the message;
Launching lib\Constants\main.dart on Chrome in debug mode...
Syncing files to device Chrome...
There are no errors when I run flutter doctor and I have no problem loading up apps in the emulator.
Press F12 on Chrome and click on the Console tab to look for errors. Maybe you added something in index.html that is incorrect or there is build errors.
You can also run flutter build web
to see if there's any errors.
I had the same error and solved it with flutter upgrade
to the newest version.
For Flutter Web & Debug & Chrome:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With