مشروع Flutter له هيكل معياري — يحتوي على مجلدات لكود Dart وكود خاص بالمنصات والموارد والإعدادات. يعتبر فهم الهيكل والملفات الرئيسية (خاصة pubspec.yaml و lib/) ضروريًا للتنقل وبناء تطبيقات Flutter.
المجلدات والملفات الرئيسية
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)
