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 -
You can monitor it by passing a
callback
that returns a ChangeNotifier.