ScopedValueListener class abstract
An object to monitor ScopedValue in the widget.
container to obtain a ScopedValueContainer and pass the change notification sent from the ScopedValue stored in the container to the associated widget.
getScopedValueResult associates ScopedValue and reads the result.
ScopedValueをウィジェット中で監視するためのオブジェクト。
containerでScopedValueContainerを取得しそこに保存されているScopedValueから送られた変更通知を関連付けれられたウィジェットに渡します。
getScopedValueResultでScopedValueの関連付けと結果の読み取りを行ないます。
- Implementers
- Available Extensions
Properties
- container → ScopedValueContainer
-
ScopedValueContainer that stores ScopedValue.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Executed when the widget is destroyed.
-
getAlreadtExistsScopedValueResult<
TResult, TScopedValue extends ScopedValue< (TResult> >{bool listen = false, Object? name, bool recursive = true}) → TResult? -
Retrieves the ScopedValueState associated with the
TScopedValue
already stored in the ScopedValueContainer and returns the result. -
getScopedValueResult<
TResult, TScopedValue extends ScopedValue< (TResult> >TScopedValue provider(), {void onInit(ScopedValueState< TResult, TScopedValue> state)?, void onUpdate(ScopedValueState<TResult, TScopedValue> state)?, bool listen = false, Object? name}) → TResult -
TScopedValue
by passingprovider
and returns the result. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited