flutterfirebasefirebase-hosting

Flutter Web App Blank Screen in Release mode


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?


Solution

  • flutter build web 
    

    use this code