Thoughts on bloc for flutter?

Sushrut Chafadker
4 replies
Building a new social media app using flutter. Friends have been telling me to use bloc from start. I think its too much boilerplate code. Thoughts? Would love to get an opinion from flutter expert :)

Replies

Micheal
The Ultimate ChatGPT Guide
The Ultimate ChatGPT Guide
Using "bloc" in Flutter for your social media app is a valid choice, but it depends on your project's complexity and your personal preferences. bloc separates concerns, enhances testability, and supports scalability. However, consider simpler solutions like "Provider" or "GetX" for less complex apps.
Micheal
The Ultimate ChatGPT Guide
The Ultimate ChatGPT Guide
@al_italian @sushrut_chafadker tbh, Starting with "Provider" for rapid prototyping is wise. Later, consider "bloc" if needed. Avoid the learning curve and complexity now. Besides, you can scale up when required. Happy coding! 🚀👍
Sushrut Chafadker
@al_italian thanks for the inputs, from the research I have done so far seems that for rapid prototyping its better to use provider and later use bloc if needed, else it might take longer due to the learning curve, as well as the boiler plate code and complexity
Sushrut Chafadker
@mi_cheal thanks! Wishing you the same :)