QueryScopedValueRefPageOrWidgetScopedValueRefWatchExtensions extension
Provides an extended method for QueryScopedValueRef to monitor ChangeNotifier.
ChangeNotifierの監視を行うためのQueryScopedValueRef用の拡張メソッドを提供します。
Methods
-
watch<
T extends Listenable?> (T callback(QueryScopedValueRef< PageOrWidgetScopedValueRef> ref), {List<Object> keys = const [], Object? name, bool disposal = true}) → T -
Available on QueryScopedValueRef<
You can monitor it by passing aPageOrWidgetScopedValueRef> , provided by the QueryScopedValueRefPageOrWidgetScopedValueRefWatchExtensions extensioncallback
that returns a ChangeNotifier.