bloc_manager 1.2.0
bloc_manager: ^1.2.0 copied to clipboard
A Flutter BLoC management package that eliminates boilerplate state-management code. Provides a sealed BaseState hierarchy, BlocManager widget with auto loading/error/success handling, and CacheableBl [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bloc_managerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
bloc_manager: ^1.2.0Alternatively, 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_manager/bloc_manager.dart';