Building and deploying your first web app
Let’s start with the most important topic, building and deploying Flutter web applications. In this section, we will first build our application and then deploy it to Netlify. We will mostly use the command line for this. First, open the command line and navigate to the folder containing your Flutter web project. Then, run the following command:
flutter build web
This creates a release build of the web application for your Flutter project that you can find in <project_root>/build/web
. The release build is an optimized build of the Flutter application that is ready to be deployed in production. The release build will have the following structure:
/build/web assets AssetManifest.json FontManifest.json NOTICES fonts MaterialIcons-Regular.ttf <...