Upgrading flutter_bloc 0.1 to 0.2
Breaking0.1.1 → 0.2.1Breaking1New1Other1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Widgets that build from a Bloc no longer clean it up for you, so you have to close the Bloc yourself when you are done with it.
Must act 1 item needs code or config changes
What you must change
Breaking1
BlocBuilder no longer automatically disposes a Bloc; developers must decide when to call Bloc.dispose().
BlocBuilderBloc.dispose()