Flutter App Folder Structure | RRTutors

Flutter Tutorial for Beginners: Project Folder Structure

To understand flutter fully we need to understand the first Flutter folder structure.

  • android - Auto generated source code to create android application

  •  ios - Auto generated source code to create ios application

  •  web- Auto generated source code to create web application

  • lib - Main folder containing Dart code written using flutter framework

  •  lib/main.dart - Entry point of the Flutter application

  •  test - Folder containing Dart code to test the flutter application

  •  test/widget_test.dart - Sample code

  •  .gitignore - Git version control file

  •  .metadata - auto generated by the flutter tools

  •  .packages - auto generated to track the flutter packages

  •  .iml - project file used by Android studio

  •  pubspec.yaml - Used by Pub, Flutter package manager

  •  pubspec.lock - Auto generated by the Flutter package manager, Pub

  •  README.md - Project description file written in Markdown format


 

Advertisements