Skip to content

Upgrading flutter_bloc 0.1 to 0.2

Breaking0.1.1 → 0.2.1Breaking1New1Other1

BreakingUpgrade verdict

1 breaking change.

  • 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.
1 item needs code or config changes
Breaking1
BlocBuilder no longer automatically disposes a Bloc; developers must decide when to call Bloc.dispose().
BlocBuilderBloc.dispose()