A Flutter project has a standard structure — with directories for Dart code, platform-specific code, assets, and configuration. Understanding the structure and key files (especially pubspec.yaml and lib/) is necessary for navigating and building Flutter apps.
Key directories and files
my_app/
lib/ → your DART CODE lives here (the heart of the app)
main.dart → the ENTRY POINT (the main() function; app starts here)
pubspec.yaml → project config: DEPENDENCIES, assets, metadata (very important)
android/ → Android-specific native project/config
ios/ → iOS-specific native project/config
web/ windows/ etc. → other platform folders
test/ → tests
assets/ → images, fonts, etc. (declared in pubspec.yaml)
