With the recent release of Flutter 2, web is now a stable target for Flutter apps opening a new door for developers to create beautiful websites. This will be a basic guide to automatic deployment of Flutter websites and web apps using GCP Cloud Build, Storage, and Cloudflare.

By following this guide, your app will be automatically published when you git push to your repository’s master branch. This simplifies deployment, and even pushes Flutter to be viable as a static site generator (in the same vein as Hugo). As an example, I will be deploying the placeholder website shown below…

Elliot Sayes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store