Проект 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)
