Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.02 KB

File metadata and controls

29 lines (20 loc) · 1.02 KB

Bloc Alternatives libraries

A collection of dart & flutter packages to work with Bloc

Packages

flutter_hooks_bloc

A reimplementation of flutter_bloc based on flutter_hooks.

Advantages:

  • Now you can use a useBloc hook function.
  • Bloc widgets has less compostion in te widget tree.
  • Widget inspector gives information about bloc/cubit.
  • It's easy to create a widget with a MultiBlocBuilder behavior.

riverbloc

Expose a BlocProvider based on Riverpod and can be use with flutter_riverpod or hooks_riverpod instead of flutter_bloc.

With this package, MultiBlocProvider is not necessary anymore. No more FlutterError/ProviderNotFoundException on context.bloc() invocation.