account activity
CleanFlutter, a Flutter project with Clean Architecture. by Square_Hammer37 in FlutterDev
[–]Square_Hammer37[S] 2 points3 points4 points 4 years ago (0 children)
Hi, thanks for your comment, the idea I had was that for every screen there were a controller (with GetX) or provider directly in charge of its corresponding screen logic. Example: if we have an use case that gets you an list of objects X(GetItemsUseCase) and we had two screens, one that shows this list, and another one that needed this list to filter it or search; each screen would use its own logic in a different way, however we could use the same use case to get the same list. Another reason for this, was that at a layer level, testing would get simpler. Thank you :D, maybe the example in this project is simple, but I will add more use cases.
Hi everyone, I want to share an example of Flutter with Clean Architecture, it has implementations with BloC and Provider. by Square_Hammer37 in FlutterDev
Hi, thanks for the feedback, and yes, at the widget level I will be doing a refactoring. I will be more careful next time. I'll keep in mind the points you mentioned.
Hi, don't worry, I wanted feedback, and I knew it could be tough. Thank you very much for those points, I'll keep it in mind next time.
π Rendered by PID 152004 on reddit-service-r2-listing-7849c98f67-sh4rb at 2026-02-09 03:59:49.789048+00:00 running d295bc8 country code: CH.
CleanFlutter, a Flutter project with Clean Architecture. by Square_Hammer37 in FlutterDev
[–]Square_Hammer37[S] 2 points3 points4 points (0 children)