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
Sorry for late response, but I was just getting and error with the old BlocDelegate. class SimpleBlocDelegate extends BlocDelegate { @override void onTransition(Transition transition) { print(transition.toString()); } }
Is your feature request related to a problem? Please describe.
Setting a custom
BlocDelegate
is a bit confusing in its current state.We need to do:
This makes it seem like we are creating a new instance of the
BlocSupervisor
when instead we are retrieving a reference to the singleton instance.Describe the solution you'd like
It would be a bit more intuitive to initialize the delegate like:
The text was updated successfully, but these errors were encountered: