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
You can import the blocs where you need it. If you use a provider the bloc is initialized before you pushing the screen and disposed when you leave it, so there is no issue if you have a lot of blocs. If you don't mind about leaving all in memory, you can also extend the AppStateModel class and declare all the blocs you need in that instance, then with the AppStateProvider you can provide the state of the app (and so every blocs that you declared) to every widget.
hi
How to use generic bloc provider with this library? can you please explain ?
Thanks
The text was updated successfully, but these errors were encountered: