Search code examples
firebaseflutterdartwebhosting

How to host Flutter on the web using Firebase? And how well does it work?


How do I host flutter on the web using firebase and how well does it work? I have never done this before but have used firebase to host html, javascript and Css pages in the past. I am now learning flutter and dart for mobile and web development. I was looking for methods on how to host flutter using firebase and how well it works. Thanks!


Solution

  • After building it, a Flutter web app is just some HTML + JavaScript. This means that you can host it on any static web host, including Firebase Hosting. Just deploy the output of your build process (from build/web) to Firebase, and you should be good to go.