AsyncControllerScopeContext<W extends ScopeInheritedWidget, C extends ScopeController> class
abstract
interface
AsyncControllerScope
What a descendant reads off a scope owning a controller.
The same three answers AsyncDataScopeContext gives about a value, said in
the word this family uses: the value here is a ScopeController, and
calling it data made every read of it read as though it were a payload.
The inherited data, dataOrNull and hasData still answer — this is the
same object under a name that fits.
- Implemented types
-
- AsyncDataScopeContext<
W, C>
- AsyncDataScopeContext<
- Implementers
Properties
- controller → C
-
The controller this scope owns.
no setter
- controllerOrNull → C?
-
The controller, or
nullwhile there is none.no setter - data → C
-
The value the initialization produced.
no setterinherited
- dataOrNull → C?
-
The value, or
nullwhile there is none.no setterinherited - error → Object
-
The error of a failed initialization.
no setterinherited
- hasController → bool
-
Whether the controller has been created.
no setter
- hasData → bool
-
Whether the initialization has produced its value.
no setterinherited
- hasError → bool
-
Whether the initialization failed.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
Whether the scope has reached AsyncScopeReady.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The stack trace of error.
no setterinherited
- state → AsyncScopeState
-
The current state of the scope.
no setterinherited
- widget → W
-
The widget of this scope.
no setterinherited
Methods
-
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