bloc_dependency_manager 1.10.0 bloc_dependency_manager: ^1.10.0 copied to clipboard
This is a package that helps manage Bloc and Cubit dependencies. It is based on the Bloc package and utilizes the Observer design pattern to manage dependencies.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bloc_dependency_manager
With Flutter:
$ flutter pub add bloc_dependency_manager
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
bloc_dependency_manager: ^1.10.0
Alternatively, your editor might support dart pub get
or 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_dependency_manager/bloc_dependency_manager.dart';