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