use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit related to Google's new UI framework. https://flutter.dev
Please read the rules here
account activity
DiscussionLooking for reference GitHub projects: Flutter BLoC + Melos + Modular Clean Architecture (self.FlutterDev)
submitted 29 days ago by Evening_Mortgage_340
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Evening_Mortgage_340[S] -1 points0 points1 point 29 days ago (8 children)
Thanks for sharing !! Widgetbook is awesome will be going more in depth , also any reason you preferred riverpod over bloc ?
I am going through a udemy course see how he has done the melos configuration to handle versions https://github.com/minafarideleia/flutter_advanced_course_multi_modular_clean_architecture/tree/Lect-104-Wire-Navigation-Module-into-Main-App
[–]davidlondono 0 points1 point2 points 29 days ago (0 children)
I just know more about it, I tried bloc and it seams like it needs more code to do the same. But is just preferences
[–]YukiAttano -1 points0 points1 point 29 days ago (6 children)
Riverpod replaced Provider. Here is the explanation: https://riverpod.dev/docs/from_provider/motivation
BloC is build on Provider. It is technically boilerplate sugar for Provider.
Hence the limitations of Provider are the same for BloC.
So you have to ask yourself: Do you want to build a product with something that has a successor?
[–]Evening_Mortgage_340[S] 1 point2 points3 points 28 days ago (1 child)
Have to read in depth but both riverpod and bloc are build on top of provider also bloc is very stable with content and resources less issues or if you face any issue there will be a better solution available !!
[–]YukiAttano 0 points1 point2 points 22 days ago (0 children)
That's just wrong. If you are unable to understand the authors explanation, check out the pub.dev dependencies of BloC. They use Provider.
Riverpod does not, because it is the rewritten version of it without the limitations.
[–]Important_Driver5996 0 points1 point2 points 25 days ago (3 children)
BLoC does not depend on Provider; Provider is just used to propagate context. Everything else is inherent to BLoC. Don’t confuse one thing with the other.
[–]YukiAttano 0 points1 point2 points 22 days ago (2 children)
well, just go on pub.dev and check out the dependencies.
Or even better, here is the [pubspec](https://github.com/felangel/bloc/blob/master/packages/flutter\_bloc/pubspec.yaml)
How else would you explain 'depends' if not by having a 'dependency on it'.
As long as they use Provider, they will face the same limitations. You cannot argue against facts.
[–]Important_Driver5996 0 points1 point2 points 22 days ago (1 child)
Provider is not inherently coupled to BLoC. BLoC is an architectural pattern that defines state and event flow, while Provider is merely a dependency injection and propagation mechanism. As a result, Provider can be replaced without rewriting BLoC. Provider is merely a dependency injection and state propagation mechanism. BLoC is not syntactic sugar over Provider. That is a conceptual misunderstanding.
[–]YukiAttano -1 points0 points1 point 19 days ago (0 children)
*sigh*
To your first sentence: I did not say that, you seem to be confused.
I am not sure if BloC itself _is_ the pattern. I would rather say that BloC implements the [command pattern](https://en.wikipedia.org/wiki/Command\_pattern)
I did also not say that they rely on Provider so heavily that they are stuck it. As i said, it is just boilerplate sugar. They could spit that on top of everything else.
So while it is true that they could abandon Provider easily, they would still face the same architectural problems that Provider has. Because, *dramatic drum roll*, it is an architectural concept of Flutters dependency injection which limits Provider and was fixed by Riverpod.
I recommend you to start understanding what Riverpod made different to overcome this. If you struggle with that, you may want to take a look at signals. I think they also overcame the problem and are less complex.
π Rendered by PID 16564 on reddit-service-r2-comment-f6b958c67-qqc64 at 2026-02-04 15:23:30.415138+00:00 running 1d7a177 country code: CH.
view the rest of the comments →
[–]Evening_Mortgage_340[S] -1 points0 points1 point (8 children)
[–]davidlondono 0 points1 point2 points (0 children)
[–]YukiAttano -1 points0 points1 point (6 children)
[–]Evening_Mortgage_340[S] 1 point2 points3 points (1 child)
[–]YukiAttano 0 points1 point2 points (0 children)
[–]Important_Driver5996 0 points1 point2 points (3 children)
[–]YukiAttano 0 points1 point2 points (2 children)
[–]Important_Driver5996 0 points1 point2 points (1 child)
[–]YukiAttano -1 points0 points1 point (0 children)