Flutter Project Structure
Main directories and files

androidAndroid platform codeiosiOS platform codebuildproduced by the build, ignore itlibcross-platform code, the directory you actually care about in a Flutter projecttesttest codepubspec.yamlthe project manifest, equivalent topackage.jsonin a Node.js project. It holds the project description and the libraries it depends on
The main files
pubspec.yaml

main.dart
Flutter is written in dart (later chapters will add more on dart). The image below shows the code after simplification. Three classes are enough for one app screen, and it runs on both iOS and Android at the same time. That simple. And main.dart is the entry file for every Flutter project: it cannot be deleted or renamed.
