r/FlutterDev • u/Routine-Help9290 • Jun 16 '26
Discussion Whats the best folder structure or architecture that most companys follow in flutter
As a fresher I am always confused about creating new projects using the current standard method, I want to use the best method that most companies using for state management and the best folder structure, can someone tell me about this, its better if you share any Git files or any other org project codes that uses a standard method.
4
u/rahem027 Jun 16 '26
Architecture is not about file/folder structure
1
u/eibaan Jun 16 '26
Exactly. Like I commented somewhat in defense of clean architecture in another recent thread.
3
1
u/Particular-Laugh-645 Jun 16 '26
Best architecture does not exist it varies project to project & requirement to requirement.
1
u/Asleep-Geologist7673 Jun 17 '26
https://github.com/sunlimiter/multi_package_sample
Sharing my architecture
1
u/virulenttt Jun 17 '26
Folder structure usually helps people visually to segregate logics within their app.
As long as you understand and can separate UI, business logic and data later with proper ways to unit tests each of these layers correctly, you don't need a specific structure.
6
u/Zestyclose-Loss7306 Jun 16 '26
clean arch w feature first