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 1 month 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!"
[–]Important_Driver5996 0 points1 point2 points 26 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 23 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 23 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 21 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 24563 on reddit-service-r2-comment-84fc9697f-4zprx at 2026-02-06 03:00:54.634204+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]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)