statehub 0.1.0 copy "statehub: ^0.1.0" to clipboard
statehub: ^0.1.0 copied to clipboard

Zero-boilerplate reactive state for Dart & Flutter. Context-free, offline-first with 5 cache strategies, sealed async types, and built-in dependency injection. No external dependencies for core.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add statehub

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

dependencies:
  statehub: ^0.1.0

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:statehub/statehub.dart';
0
likes
120
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Zero-boilerplate reactive state for Dart & Flutter. Context-free, offline-first with 5 cache strategies, sealed async types, and built-in dependency injection. No external dependencies for core.

Repository (GitHub)

Topics

#state-management #reactive #offline-first #async #flutter

License

MIT (license)

Dependencies

flutter

More

Packages that depend on statehub