I have a Flutter Web App which renders just fine on running
flutter run -d chrome
But if I run flutter run -d chrome --release
It gives me a blank screen.
How should I sort out this issue?
I have a Flutter Web App which renders just fine on running
flutter run -d chrome
But if I run flutter run -d chrome --release
It gives me a blank screen.
How should I sort out this issue?
flutter build web
use this code
flutter create .
you should see now web folder in your project inside web folder under index.html comment below code(you will find it inside head tags)
<base href="$FLUTTER_BASE_HREF">
this will fix your blank screen problems
© 2022 - 2025 — McMap. All rights reserved.