Catalyst Builder
A dependency injection container builder for dart.
Click on the image for a video on YouTube:
Screenshot
Background
Since Catalyst is only for Dart and Flutter Catalyst supports Flutter, but a mess to configure I decided to do something cooler.
Catalyst Builder is a dependency injection container builder for both, Dart and Flutter. It's easy to use and dependency
injection is almost done automatically. You only have to decorate your services with @Service
and the build_runner
will create a service container for you.
Installation
Follow the steps described on this Page: https://pub.dev/packages/catalyst_builder/install
Add this to your pubspec.yaml and run pub get
or flutter pub get
:
dev_dependencies:
build_runner: ^2.2.0
Don't forget to exclude the .catalyst_builder_cache
directory from VCS.
Documentation
Check out the wiki on GitHub for documentation