watch_it 1.4.2 copy "watch_it: ^1.4.2" to clipboard
watch_it: ^1.4.2 copied to clipboard

The simple state management powered by get_it. It allows to observe changes of objects inside the get_it service locator and rebuild the UI accordingly.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add watch_it

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

dependencies:
  watch_it: ^1.4.2

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:watch_it/watch_it.dart';
103
likes
140
pub points
92%
popularity

Publisher

unverified uploader

The simple state management powered by get_it. It allows to observe changes of objects inside the get_it service locator and rebuild the UI accordingly.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (LICENSE)

Dependencies

flutter, functional_listener, get_it

More

Packages that depend on watch_it