command_bus 1.2.0 copy "command_bus: ^1.2.0" to clipboard
command_bus: ^1.2.0 copied to clipboard

Minimal command bus toolkit with middleware, safe result handling, and examples.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add command_bus

With Flutter:

 $ flutter pub add command_bus

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  command_bus: ^1.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:command_bus/command_bus.dart';
1
likes
155
points
199
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Minimal command bus toolkit with middleware, safe result handling, and examples.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on command_bus