Structure for your project!

All you need to know about the default Flutter project folders and files

A new Flutter project contains a lot of files and folders. In this article, we’ll inspect them and reveal their purposes.

xeladu
6 min readJun 9, 2022

--

Let’s start with an overview of what a standard Flutter project with version 3.0 will contain. We will have a look at each item in the list and discuss its purpose.

Screenshot of default Flutter project structure by author

.dart_tool folder

This folder contains files used by various Dart tools.

android folder

This folder contains all relevant data to compile and create a working Android app (apk or appbundle). There are two files that you most likely will need to edit during the development process:

🔹 build.gradle in android/app It contains the applicationId that is required when submitting to Google Play Store. Make sure, this value matches the value you specify in Google Play Console before uploading your app.
❗ Be sure to check the path! There is another build.gradle file in the android

--

--

xeladu
xeladu

Written by xeladu

Flutter and Firebase expert, blogger on QuickCoder.org, find my ebooks and freebies on shop.quickcoder.org, contact me on me.quickcoder.org!