Some of you who are as long around in the community as I am know that I have published and talked about Flutter architecture in the past a lot and that I wasnāt super happy about the recommendations from the Flutter Team on architecture.
Here is my updated view on how you can structure a Flutter app
As a noob (as I still am), the overload of approaches and tutorials out there regarding architecture can be really confusing (and overcomplicated). The fact that some concepts are used in different ways, makes things even harder to understand.
What I take for me from it all, is ādonāt copy things without understanding themā, ādo what it works for you while you understand what you doā, and āask politely for help if you hit a wall, the flutter community is generous and supportiveā.
I can understand your pragmatic approach, so thanks @escamoteur !
I enjoyed your article but had to laugh at your use of the term āManager.ā Iām always dealing with students who want to call classes āManagersā when they donāt know what the classes actually do. That is, these are classes that accrue responsibilities rather than maintain a single clear one.
Iām pleased to see that you have defined your term, but I canāt help but wonder if thereās another name for the concept.
Again, thanks for the article. I look forward to trying your approach.
I know what you mean, but I honestly found no better term for it. They manage certain aspects of your business logic. Therefore they can be more than just repositories. Controllers would be another possibility but we already use controllers for Animations, Scrolling or Textfields.
So I think Manager is good term.
Using contents of this forum for the purposes of training proprietary AI models is forbidden. Only if your AI model is free & open source, go ahead and scrape. Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.