- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- ProxyWidget
- InheritedWidget
- ScopeInheritedWidget
- ScopeWidgetCore<AsyncControllerScope<C>, _AsyncControllerScopeElement<AsyncControllerScope<C>, C>>
- ScopeModelCore<AsyncControllerScope<C>, _AsyncControllerScopeElement<AsyncControllerScope<C>, C>, AsyncScopeModel>
- AsyncScopeCore<AsyncControllerScope<C>, _AsyncControllerScopeElement<AsyncControllerScope<C>, C>>
- AsyncDataScopeCore<AsyncControllerScope<C>, _AsyncControllerScopeElement<AsyncControllerScope<C>, C>, C>
- AsyncControllerScopeCore<AsyncControllerScope<C>, _AsyncControllerScopeElement<AsyncControllerScope<C>, C>, C>
- AsyncControllerScopeBase<AsyncControllerScope<C>, C>
- AsyncControllerScope
Constructors
-
AsyncControllerScope({Key? key, Object? tag, Object? scopeKey, Duration? scopeKeyTimeout, void onScopeKeyTimeout()?, Duration? initCancellationTimeout, void onInitCancellationTimeout()?, Duration? disposeScopeTimeout, void onDisposeScopeTimeout()?, Duration? waitForChildrenTimeout, void onWaitForChildrenTimeout()?, Duration? pauseAfterInitialization, required C createController(BuildContext context), Widget waitingBuilder(BuildContext context)?, required Widget progressBuilder(BuildContext context), required Widget builder(BuildContext context, C controller), required Widget errorBuilder(BuildContext context, Object error, StackTrace stackTrace)})
-
Creates a scope owning a controller.
const
Methods
-
buildOnError(BuildContext context, Object error, StackTrace stackTrace)
→ Widget
-
Built when the initialization of the controller failed.
override
-
buildOnProgress(BuildContext context)
→ Widget
-
Built while the controller is initializing.
override
-
buildOnReady(BuildContext context, C controller)
→ Widget
-
Built once the controller is ready, and receives it.
override
-
buildOnWaiting(BuildContext context)
→ Widget?
-
Built while waiting for a
scopeKey and for the controller.
override
-
createController(BuildContext context)
→ C
-
Creates the controller this scope owns.
override
-
createElement()
→ InheritedElement
-
Inflates this configuration to a concrete instance.
inherited
-
createScopeElement()
→ _AsyncControllerScopeElement<AsyncControllerScope<C>, C>
-
Creates the element of this scope.
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
-
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<AsyncControllerScope<C>, _AsyncControllerScopeElement<AsyncControllerScope<C>, C>> oldWidget)
→ bool
-
Whether the framework should notify widgets that inherit from this widget.
inherited