controller_pubsub 0.0.4 copy "controller_pubsub: ^0.0.4" to clipboard
controller_pubsub: ^0.0.4 copied to clipboard

A Flutter package providing a simple implementation of the Publisher-Subscriber pattern for controllers. This package is designed to facilitate communication between controllers.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add controller_pubsub
copied to clipboard

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

dependencies:
  controller_pubsub: ^0.0.4
copied to clipboard

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

Import it

Now in your Dart code, you can use:

import 'package:controller_pubsub/controller_publisher.dart';
import 'package:controller_pubsub/controller_subscriber.dart';
import 'package:controller_pubsub/controller_watcher.dart';
copied to clipboard
3
likes
150
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

2024.08.27 - 2025.03.11

A Flutter package providing a simple implementation of the Publisher-Subscriber pattern for controllers. This package is designed to facilitate communication between controllers.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on controller_pubsub