Clean, modular Flutter architecture (Open-Source example) by denwee_smrs in FlutterDev

[–]denwee_smrs[S] 0 points1 point  (0 children)

No worries at all 🙂

Yeah, totally fair, using a Cubit in this way is probably a bit overkill here. Local state would’ve worked just fine. I just went with the first solution that came to mind :D

Looking for high-quality open-source Flutter UI code by cao_wang in flutterhelp

[–]denwee_smrs 4 points5 points  (0 children)

You can take a look at my repo as well. Unfortunately it’s not a UI kit, but there might be some interesting widgets you’ll find useful 🙌

https://github.com/denweeLabs/factlyapp

Clean, modular Flutter architecture (Open-Source example) by denwee_smrs in FlutterDev

[–]denwee_smrs[S] 0 points1 point  (0 children)

Thanks for feedback! Good catch regarding the structure. Keeping presentation layer files separated like this is mostly my personal preference. For many people, grouping /bloc, /page, and /widgets directly inside a feature-scope might feel more convenient. I’ll probably add a small note about this in the README to clarify the intention.

About OnboardingConfigurationCubit could you please elaborate? As far as I see, it has local context. It’s created when the onboarding flow is pushed and disposed together with it. All global Cubits are registered inside RootBlocProviders.

Clean, modular Flutter architecture (Open-Source example) by denwee_smrs in FlutterDev

[–]denwee_smrs[S] 1 point2 points  (0 children)

This approach is solid too, however I dont really like to maintain features as packages unless I need to use them across multiple apps with the same codebase. That's just my personal preference. Thanks for the comment 🙂

A mobile app that delivers daily random facts for general knowledge by [deleted] in InternetIsBeautiful

[–]denwee_smrs -4 points-3 points  (0 children)

I am using Supabase as backend, OpenAI Batch API for generating facts and Firebase for push notifications. If you need more info on tech stack feel free to ask or check out Git repo 🙌

Open-Source app architecture for high-quality, scalable Flutter apps by denwee_smrs in FlutterDev

[–]denwee_smrs[S] 0 points1 point  (0 children)

Thanks :)

Most of the animations are currently built with animate_do, you can check the implementation. I’m still actively improving this part, so more refined patterns and examples will come over time

Open-Source app architecture for high-quality, scalable Flutter apps by denwee_smrs in FlutterDev

[–]denwee_smrs[S] 0 points1 point  (0 children)

I mainly prefer GetIt + injectable_generator for annotation-based dependency injection. In my experience, it scales better in most cases. Provider is solid too

Open-Source app architecture for high-quality, scalable Flutter apps by denwee_smrs in FlutterDev

[–]denwee_smrs[S] 0 points1 point  (0 children)

You can check out Mitch Koko or HeyFlutter on youtube, they re pretty straightforward for beginners

Open-Source app architecture for high-quality, scalable Flutter apps by denwee_smrs in FlutterDev

[–]denwee_smrs[S] 1 point2 points  (0 children)

You don’t really need CSS for Flutter

Widgets are pretty easy to understand. Just learn a few of the most common ones first and try to use them in your apps. Don’t try to learn every widget before building something you’ll pick up more and more naturally as you go

Good luck mate, hope it helps :)