watch_it 1.6.1 copy "watch_it: ^1.6.1" to clipboard
watch_it: ^1.6.1 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 Dart:

 $ dart pub add watch_it
copied to clipboard

With Flutter:

 $ flutter pub add watch_it
copied to clipboard

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

dependencies:
  watch_it: ^1.6.1
copied to clipboard

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:watch_it/watch_it.dart';
copied to clipboard
172
likes
0
points
6.63k
downloads

Publisher

unverified uploader

Weekly Downloads

2024.10.07 - 2025.04.21

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

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

flutter, functional_listener, get_it

More

Packages that depend on watch_it