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

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

example/lib/example.dart

import 'package:catalyst_builder/catalyst_builder.dart';

import './src/manually_wired_service.dart';

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

@Preload()
@GenerateServiceProvider(
  providerClassName: 'ExampleProvider',
  includePackageDependencies: true,
)
@ServiceMap(services: {
  ManuallyWiredServiceImplementation: Service(
    exposeAs: ManuallyWiredService,
  ),
})
void main() {}
9
likes
0
points
913
downloads

Publisher

verified publishermintware.de

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Topics

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

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

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

More

Packages that depend on catalyst_builder