Flutter projektas turi standartinę struktūrą — su katalogais Dart kodui, platformai specifiniam kodui, resursams ir konfigūracijai. Supratimas apie struktūrą ir pagrindinius failus (ypač pubspec.yaml ir lib/) yra būtinas navigacijai ir Flutter programų kūrimui.
Pagrindiniai katalogai ir failai
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)
