-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Is your feature request related to a problem? Please describe.
So we have more general requirements from dependency injection than what BlocProvider can do. It's a bit of a pain point that BlocProvider only allows it's dependency to inherit from Bloc, meaning that if I have other non-bloc services, I have to use a different DI package; which we do - the provider package. But that also means we have basically 2 identical DI layers. Also, provider has MultiProvider which is akin to BlocProviderTree.
There are many similarities.
Describe the solution you'd like
My preferred solution would be for this package to embrace the provider package: less redundancy in the community packages, and less confusion.
Describe alternatives you've considered
I see no alternatives besides using both packages.
Thanks for reading, and thanks for a good package!