You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty new to flutter and this generic bloc provider works really well so far. I'm trying to organize my code into classes and different blocs, but i can't find a way to pass multiple blocs to my main class or widgets.
Something like:
final userBloc = BlocProvider.of<UserBloc>(context);
final productBloc = BlocProvider.of<ProductBloc>(context);
Do you think is possible?
The text was updated successfully, but these errors were encountered:
Hi Riberto.
I'm pretty new to flutter and this generic bloc provider works really well so far. I'm trying to organize my code into classes and different blocs, but i can't find a way to pass multiple blocs to my main class or widgets.
Something like:
Do you think is possible?
The text was updated successfully, but these errors were encountered: