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

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

example/lib/example.dart

library catalyst_builder_example;

import 'dart:convert';

import 'package:catalyst_builder/catalyst_builder.dart';

import './src/manually_wired_service.dart';

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

part './src/chat_provider.dart';

part './src/cool_chat_provider.dart';

part './src/preload_service.dart';

part './src/singleton_service.dart';

part './src/transient_service.dart';

part './src/transport.dart';

part './src/self_registered_service.dart';

part './src/broadcaster.dart';

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

Publisher

verified publishermintware.de

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

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

More

Packages that depend on catalyst_builder