Skip to content
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

BlocObserver Issues #5

Open
sauravgpt opened this issue May 6, 2021 · 0 comments
Open

BlocObserver Issues #5

sauravgpt opened this issue May 6, 2021 · 0 comments

Comments

@sauravgpt
Copy link

// @OverRide
// void onChange(Cubit cubit, Change change) {
// print(change);
// super.onChange(cubit, change);
// }

// @OverRide
// void onClose(Cubit cubit) {
// super.onClose(cubit);
// }

// @OverRide
// void onCreate(Cubit cubit) {
// print(cubit);
// super.onCreate(cubit);
// }

// @OverRide
// void onError(Cubit cubit, Object error, StackTrace stackTrace) {
// super.onError(cubit, error, stackTrace);
// }

These are removed in latest version of Bloc & Flutter Bloc. I think they don't support Cubit but some or none supports Bloc (In above four override methods of BlocObserver Class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant