How to Deploy Flutter Web App on Netlify?
Last Updated :
18 Apr, 2025
In this article, we will deploy a counter flutter web app which is a single page application on Netlify.
What is Netlify?
It is a web development platform that makes CI/CD, deployment, and scaled hosting. It supports multiple frameworks which include Flutter. It does not require money to deploy websites but is limited to certain features.
Firstly, let's create a flutter web app. We need to upgrade the flutter before if the current version does not support the web app. Run the following commands to upgrade flutter to a stable channel.
flutter channel stable
flutter upgrade
Now, let us make sure we have flutter devices to render web apps on browsers. To ensure this, type the below command in your terminal.
flutter devices
Result:

It will show all the devices available for running the app and a webserver to serve the app. Here, it is Chrome.
- Create and Run
The method of creating a new project with web support is the same as creating an Android or iOS app. Create a new app from the terminal and it will automatically create an app for Android, web, and iOS. Remember, if you have not upgraded Flutter it will not create a web app for your project. If you want to support web for an existing project type (flutter create . ) in the terminal inside your project folder. Otherwise, for the new project just type the below command.
flutter create counter_app
To know more about it refer this article: Creating a Simple Application in Flutter
To serve your app on localhost in Chrome, go to your app folder and do the following:
cd counter_app
flutter run -d chrome
You should see something like this on your localhost port -
Since the web app is working great. It's time to deploy it to Netlify. There are many methods to do deployment but here only the easiest method will be discussed. It's time to head to build the app for release using a simple command in the terminal.
flutter build web
Result:
This will create a web folder inside the build folder that is a master of everything here.

- Deployment
Create an account on Netlify if you haven't till now. The dashboard will look something like this:
We can deploy using Git also, but here we are going to see a simple drag and drop method which is a direct method using a folder instead of pushing your code onto Github first then deploying it. If you are a beginner you can get stuck between Github and Netlify in the case of a Flutter web app deployment which is different from a JavaScript website. Now, click on Sites, and it will take you to a page that looks like -
At the end of the site's page, there is a box for drag and drop purposes. But which folder do we need to drop there? Drag and drop the web folder inside the build folder and Netlify will automatically start deploying the web app. It will show "Deploy Success" as shown in following image and create a link to your web app which you can share with your anyone to see your website.
Final Output:
You can change the domain name if you don't like the one generated by Netlify. If you have faced any difficulty in deploying this way do tell us in the comment section.
Similar Reads
How to Install Flutter App on Android?
The hottest and trending cross-platform framework, Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop with just a single codebase, meaning you write for one, build for three. Flutter works with existing code, is used by developers and organizations aro
4 min read
How to Install Flutter on Windows?
Flutter is Google's portable user interface (UI) toolkit. It is used to build and develop eye-catching, natively built mobile, desktop, and web applications from a single codebase. Flutter is free, open-sourced, and compatible with existing code. Due to its user-friendly interface and fairly simple
8 min read
How to Build a Video Calling App in Flutter?
Video Calling has become a necessary feature in most real-time communication applications used around the world. Its primary application is to connect people from all around the world along with other obvious applications. Chat applications like Facebook, WhatsApp, and Instagram all have video calli
4 min read
How to Add Firebase to Flutter App?
Firebase is a product of Google that helps developers to build, manage, and grow their apps easily. It helps developers to build their apps faster and more securely. No programming is required on the Firebase side which makes it easy to use its features more efficiently. It provides services to Andr
3 min read
How to Install Flutter on Linux?
In this article, we will learn how to install Flutter in Linux Flutter is an open-source UI software development kit created by Google. It is used to develop cross-platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase. Installing Flutter on L
2 min read
How to Export Flutter App from Android Studio to Xcode?
Flutter is a new and most popular open-source framework which is used to develop mobile applications for Android as well as iOS. It provides a fast development cycle and a modern, interactive programming model. Here, we will cover the process of exporting a Flutter app from Android Studio to Xcode,
3 min read
How to Run a Flutter App on Android Emulator?
An emulator is a virtual device created to run programs/applications derived from the host system. An Android Emulator imitates an Android device and is used to run and test Android applications on your host system without requiring the presence of a physical Android device. To run your Flutter appl
3 min read
How to Build a Simple Login App with Flutter?
To prevent unauthorized access to personal information, it is a good practice to authenticate users before granting access to websites, mobile applications, and computer applications after they can register and then log in. In this article, we are going to explain how to build a Design Login page us
8 min read
How to Use 3D Models in Flutter?
Flutter has recently developed into the realm of 3D graphics, expanding its capabilities beyond just 2D applications. In this article, we will explore the exciting process of creating 3D objects in Flutter using the flutter_cube library. Steps to Implement 3D Models in FlutterStep 1: Create a new Fl
4 min read
How to Add Firebase into Flutter in a New Way?
Recently Firebase give another option for adding Firebase to Flutter and It is only made for Flutter, As of now we add firebase using the android option for flutter but now we can add using the flutter option that is recently updated by Flutter. Here you can find how to add firebase as an Android in
2 min read