subpub 0.0.1-dev.2 copy "subpub: ^0.0.1-dev.2" to clipboard
subpub: ^0.0.1-dev.2 copied to clipboard

A lightweight and efficient state management solution for Flutter implementing the publisher-subscriber pattern with automatic dependency tracking and macro-powered code generation

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add subpub

With Flutter:

 $ flutter pub add subpub

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

dependencies:
  subpub: ^0.0.1-dev.2

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:subpub/subpub.dart';
2
likes
0
points
155
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight and efficient state management solution for Flutter implementing the publisher-subscriber pattern with automatic dependency tracking and macro-powered code generation

Repository (GitHub)
View/report issues

Topics

#flutter #state-management #publisher-subscriber #dependency-tracking #dart-macros

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, macros

More

Packages that depend on subpub