-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combining 2 Bloc state in a new Bloc #376
Comments
I have the same case but fix it from other side. With the following |
I made a sample application with my problem: https://github.com/anatter/flutter_bloc_dispose |
Don't really know the package but I would guess the dispose parameter is missing here: |
Thanks @filoe, this resolved the issue 😆 🎉 |
Fix merged in #377 and included in |
Hello,
what is best practice for combing multiple Bloc state in a new Bloc? For example I have BlocA and BlocB and I want to create a new Bloc which combines both states:
The problem which I am facing is when my BlocCombineBloc calls
disposed()
, BlocA and BlocB call alsodisposed()
.The text was updated successfully, but these errors were encountered: