QueryScopedValue<TResult, TRef extends Ref> class
abstract
Class for extensions to manage state.
After managing the state, return an object of TResult
.
Implement the relevant state with ScopedValueState and create it with createState.
You can also specify a Ref that can be referenced by a child element by passing ref.
状態を管理するための拡張用のクラス。
状態を管理した後TResult
のオブジェクトを返すようにします。
関連するステートをScopedValueStateで実装しcreateStateで作成します。
- Inheritance
-
- Object
- ScopedValue<
TResult> - QueryScopedValue
- Available Extensions
- Annotations
Constructors
- QueryScopedValue({required TRef? ref})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → TRef?
-
Specify the associated
TRef
, if any.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createState(
) → QueryScopedValueState< TResult, TRef, QueryScopedValue< TResult, TRef> > -
Creates and returns the associated state.
override
-
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