Proyek Flutter memiliki struktur standar — dengan direktori untuk kode Dart, kode spesifik platform, aset, dan konfigurasi. Memahami struktur dan file-file kunci (terutama pubspec.yaml dan lib/) diperlukan untuk menavigasi dan membangun aplikasi Flutter.
Direktori dan file kunci
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)
