Constructors
-
AsyncScope({Key? key, Object? tag, Object? scopeKey, required Stream<AsyncScopeInitState> init(BuildContext context), required FutureOr<void> dispose(), Widget waitingBuilder(BuildContext context)?, required Widget initBuilder(BuildContext context), required Widget builder(BuildContext context), required Widget errorBuilder(BuildContext context, Object error, StackTrace stackTrace)})
-
const
Methods
-
buildOnError(BuildContext context, Object error, StackTrace stackTrace)
→ Widget
-
override
-
buildOnInitializing(BuildContext context)
→ Widget
-
override
-
buildOnReady(BuildContext context)
→ Widget
-
override
-
buildOnWaiting(BuildContext context)
→ Widget?
-
override
-
createElement()
→ InheritedElement
-
Inflates this configuration to a concrete instance.
inherited
-
createScopeElement()
→ _AsyncScopeElement<AsyncScope>
-
inherited
-
debugDescribeChildren()
→ List<DiagnosticsNode>
-
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(DiagnosticPropertiesBuilder properties)
→ void
-
Add additional properties associated with the node.
inherited
-
disposeAsync()
→ FutureOr<void>
-
override
-
initAsync(BuildContext context)
→ Stream<AsyncScopeInitState>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style})
→ DiagnosticsNode
-
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString({DiagnosticLevel minLevel = DiagnosticLevel.info})
→ String
-
A string representation of this object.
inherited
-
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65})
→ String
-
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug})
→ String
-
Returns a one-line detailed description of the object.
inherited
-
toStringShort({bool showHashCode = false})
→ String
-
A short, textual description of this widget.
inherited
-
updateShouldNotify(covariant ScopeWidgetCore<AsyncScope, _AsyncScopeElement<AsyncScope>> oldWidget)
→ bool
-
Whether the framework should notify widgets that inherit from this widget.
inherited