catalyst_builder 5.0.0 copy "catalyst_builder: ^5.0.0" to clipboard
catalyst_builder: ^5.0.0 copied to clipboard

A lightweight and easy to use dependency injection container builder for dart.

example/lib/example.dart

import 'package:catalyst_builder_contracts/catalyst_builder_contracts.dart';

import './src/manually_wired_service.dart';

export './public_api.dart';
export './src/manually_wired_service.dart';
export 'example.catalyst_builder.plugin.g.dart';

@Preload()
@GenerateServiceContainerPlugin(
  pluginClassName: 'ExampleContainerPlugin',
)
@ServiceMap(services: {
  ManuallyWiredServiceImplementation: Service(
    exposeAs: ManuallyWiredService,
  ),
})
void main() {}
9
likes
150
points
932
downloads
screenshot

Publisher

verified publishermintware.de

Weekly Downloads

A lightweight and easy to use dependency injection container builder for dart.

Homepage
Repository (GitHub)
View/report issues

Topics

#code-generation #builder #dependency-injection #annotations #service-provider

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

analyzer, build, catalyst_builder_contracts, code_builder, dart_style, glob, path, yaml

More

Packages that depend on catalyst_builder