event_dispatcher_builder 1.0.0 copy "event_dispatcher_builder: ^1.0.0" to clipboard
event_dispatcher_builder: ^1.0.0 copied to clipboard

A event dispatcher builder for dart. Easy to use and lightweight as a feather.

example/lib/example.dart

library event_dispatcher_builder_example;

import 'package:catalyst_builder/catalyst_builder.dart';
import 'package:event_dispatcher_builder/event_dispatcher_builder.dart';

import 'example.event_dispatcher_builder.g.dart';

export 'example.event_dispatcher_builder.g.dart';
export 'src/fake_handler.dart';
export 'src/test_event.dart';

@GenerateEventDispatcher()
@GenerateServiceProvider()
@ServiceMap(services: {
  MyEventDispatcher: Service(
    lifetime: ServiceLifetime.singleton,
    exposeAs: EventDispatcher,
  )
})
void main() {}
3
likes
140
pub points
30%
popularity

Publisher

verified publishermintware.de

A event dispatcher builder for dart. Easy to use and lightweight as a feather.

Homepage
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 event_dispatcher_builder