simple_observable 2.0.0 copy "simple_observable: ^2.0.0" to clipboard
simple_observable: ^2.0.0 copied to clipboard

Observe value changes using a Future, Stream, and/or a callback.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add simple_observable

With Flutter:

 $ flutter pub add simple_observable

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

dependencies:
  simple_observable: ^2.0.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:simple_observable/simple_observable.dart';
4
likes
130
pub points
75%
popularity

Publisher

verified publisherdefylogic.dev

Observe value changes using a Future, Stream, and/or a callback.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta

More

Packages that depend on simple_observable