Search code examples
flutterfirebaseflutter-webfirebase-hosting

How can I host my flutter web with firebase


i've try to host my flutter in firebase but it doesn't work.

I already follow the steps of the firebase web and the result is this:Result 1.firebase init hosting 2.firebase deploy --only hosting

The structure of my proyect is:Struture And i want the page to go to main.dart


Solution

  • The problem was that i have "estilos" y "responsive" in the same place as main.dart. This is the structure after the change