Ein Flutter-Projekt hat eine standardisierte Struktur — mit Verzeichnissen für Dart-Code, plattformspezifischen Code, Assets und Konfiguration. Das Verständnis der Struktur und der wichtigsten Dateien (besonders pubspec.yaml und lib/) ist notwendig, um Flutter-Apps zu navigieren und zu erstellen.
Wichtige Verzeichnisse und Dateien
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)
