https://github.com/kranfix/riverbloc
`flutter_bloc` implemented with `riverpod` instead of `provider`.
https://github.com/kranfix/riverbloc
hacktoberfest
Last synced: about 1 year ago
JSON representation
`flutter_bloc` implemented with `riverpod` instead of `provider`.
- Host: GitHub
- URL: https://github.com/kranfix/riverbloc
- Owner: kranfix
- Created: 2020-08-16T23:16:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-20T04:39:21.000Z (over 1 year ago)
- Last Synced: 2025-03-29T10:06:00.061Z (about 1 year ago)
- Topics: hacktoberfest
- Language: Dart
- Homepage:
- Size: 531 KB
- Stars: 84
- Watchers: 3
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bloc Alternatives libraries
A collection of dart & flutter packages to work with
[Bloc](https://pub.dev/packages/bloc)
## Packages
**[flutter_hooks_bloc](packages/flutter_hooks_bloc)**
A reimplementation of [flutter_bloc](https://pub.dev/packages/flutter_bloc)
based on [flutter_hooks](https://pub.dev/packages/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](packages/riverbloc)**
Expose a `BlocProvider` based on [Riverpod](https://pub.dev/packages/riverpod)
and can be use with
[flutter_riverpod](https://pub.dev/packages/flutter_riverpod) or
[hooks_riverpod](https://pub.dev/packages/hooks_riverpod) instead of
[flutter_bloc](https://pub.dev/packages/flutter_bloc).
With this package, `MultiBlocProvider` is not necessary anymore.
No more `FlutterError/ProviderNotFoundException` on `context.bloc()` invocation.