Created
April 27, 2019 18:04
-
-
Save felangel/e82d09e8e9398079174e0e0c973eec8a to your computer and use it in GitHub Desktop.
[flutter_firebase_login] Bloc Delegate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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