Flutter Project Structure
Flutter Project Structure
1. .idea;
The .idea folder contains your code editor’s project related settings specific files.
No need to make manual changes here.
It will project specific. Every project has different specification.
2. Android;
The android folder inside the flutter project contains the android platform specific
settings ,resources and code.
if you need to write any platform specific code will be making changes in here.
(…)
3. Build;
The build folder contains the output generated when you build or run the flutter
project.
you will find all release related files/folders like Apks and app bundles in here.
4. ios;
similar to android folder, the ios folder contains ios specific settings, resources and
code.
you will make platform specific code or changes in here.
(…)
5. Lib;
The lib folder is main folder where you will write all the flutter app related codes.
Initially it will contain just one single file main.dart which has the entry point for a flutter
app.
6.Test;
The test folder is set to contain any testing related codes that you write.
If u decide to write tests/test cases, you will be adding code in here.
7. .gitignore;
This is git specific file.
You can adjust the .gitignore file to include/exclude any files/folders as your need.
(…)
8. .metadata;
Metadata files contains flutter project related metadata that flutter tool uses.
You should not make manual changes to this file.
9. .packages;
A flutter project code is composed of numerous libraries and packages.
Some packages are pre installed and some are downloaded during development.