StreamAsyncExtension<T> extension
- on
-
- Stream<
T>
- Stream<
Methods
-
syncWith(
ChangeNotifier notifier, ValueChanged< T> onChanged, {required T getValue(), required void setValue(T)}) → DisposeHandler -
Available on Stream<
将 Stream 与 ChangeNotifier 同步T> , provided by the StreamAsyncExtension extensionnotifier
监听器onChanged
值改变时的回调getValue
获取当前值的方法setValue
设置新值的方法