subpub 0.0.1-dev.9 copy "subpub: ^0.0.1-dev.9" to clipboard
subpub: ^0.0.1-dev.9 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 Flutter:

 $ flutter pub add subpub

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

dependencies:
  subpub: ^0.0.1-dev.9

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:subpub/subpub.dart';
2
likes
130
points
161
downloads
screenshot

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
Contributing

Topics

#flutter #state #state-management #viewmodel #macros

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, macros

More

Packages that depend on subpub