composables/watch library

Functions

watch$(Iterable<Listenable?> source, VoidCallback callback, {bool immediate = false}) VoidCallback
Sets up a watcher on the given source and triggers the callback when any of the Listenable objects in the source change. If immediate is true, the callback is triggered immediately after setting up the listener.