bloc_widgets 1.1.2
bloc_widgets: ^1.1.2 copied to clipboard
A new Flutter package that provides an alternative to the `BlocBuilder/Listener/Consumer/Selector` with the idea based on the `ConsumerWidget` from `riverpod` library.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bloc_widgetsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bloc_widgets: ^1.1.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bloc_widgets/bloc_widgets.dart';