Understanding Default Flutter Project Structure

Default project structure in a Flutter project

.dart_tool Folder

.idea Folder

.vscode Folder

android Folder

build Folder

  • Web = root/build/web/
  • Android = root/build/app/outputs/flutter-apk/app.apk
  • Ios = root/build/ios/archive/MyApp.xcarchive

ios Folder

lib Folder

main function that runs the app in main.dart

test Folder

  • Unit test
  • Widget test
  • Integration tests

.gitignore File

.metadata File

.packages File

analysis_option.yaml File

include: package:lints/recommended.yaml

app.iml File

pubspec.lock File

pubspec.yaml File

An example to pubspec.yaml file

README.md File

Playing with Flutter

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Test Driving Visual Studio 2022 and .NET 6

Micro-components Architecture

Unique to OpenLM: CATIA Save & Close functionality

Introducing: A new tool which made it possible to achieve 100% automation!!

Web Development Basics

Building an Epaper Badge with a Raspberry PI Zero

One feature that could make WhatsApp even more better

Writing like a Developer

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
Alperen Yalçn

Alperen Yalçn

Playing with Flutter

More from Medium

TDD in Flutter Part 3: Testing your widgets

Mocking Dependencies in Flutter Unit Tests

Flutter Measure Formatter Plugin

Flutter Unit Test Basics