Z2Y / riverbloc

`flutter_bloc` implemented with `riverpod` instead of `provider`.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

`flutter_bloc` implemented with `riverpod` instead of `provider`.


Languages

Language:Dart 99.2%Language:HTML 0.8%