StreamAsyncExtension<T> extension

on

Methods

syncWith(ChangeNotifier notifier, ValueChanged<T> onChanged, {required T getValue(), required void setValue(T)}) DisposeHandler

Available on Stream<T>, provided by the StreamAsyncExtension extension

将 Stream 与 ChangeNotifier 同步 notifier 监听器 onChanged 值改变时的回调 getValue 获取当前值的方法 setValue 设置新值的方法