Skip to content

Instantly share code, notes, and snippets.

@felangel
Created April 27, 2019 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felangel/e82d09e8e9398079174e0e0c973eec8a to your computer and use it in GitHub Desktop.
Save felangel/e82d09e8e9398079174e0e0c973eec8a to your computer and use it in GitHub Desktop.
[flutter_firebase_login] Bloc Delegate
import 'package:bloc/bloc.dart';
class SimpleBlocDelegate extends BlocDelegate {
@override
void onError(Object error, StackTrace stacktrace) {
super.onError(error, stacktrace);
print(error);
}
@override
void onTransition(Transition transition) {
super.onTransition(transition);
print(transition);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment