ValueListenableWatcher<T> extension

ValueListenable extension that adds observability (i.e. watch method).

on

Methods

watch(WatcherRef ref) → T
Starts watching this object for changes (i.e. Listenable.addListener) and rebuilds the widget associated with the provided WatcherRef whenever listeners are notified.