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

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

example/lib/example.dart

library catalyst_builder_example;

import 'package:catalyst_builder/catalyst_builder.dart';

import './src/manually_wired_service.dart';

export './src/chat_provider.dart';
export './src/cool_chat_provider.dart';
export './src/example.container.dart';
export './src/manually_wired_service.dart';
export './src/preload_service.dart';
export './src/singleton_service.dart';
export './src/transient_service.dart';
export './src/transport.dart';
export './src/self_registered_service.dart';

@Preload()
@ServiceMap(services: {
  ManuallyWiredServiceImplementation: Service(
    exposeAs: ManuallyWiredService,
  ),
})
void main() {}
8
likes
140
pub points
68%
popularity

Publisher

verified publishermintware.de

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, build_runner_core, code_builder, dart_style, glob, path

More

Packages that depend on catalyst_builder