AsyncBuilder class

The async variant of a Builder component.

Accepts an async builder function that returns a stream of child components.

This component is only permitted to be used on the server.

See also:

Inheritance

Constructors

AsyncBuilder({required Future<Component> builder(BuildContext context), Key? key})
const

Properties

builder → Future<Component> Function(BuildContext context)
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one component replaces another component in the tree.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) → Future<Component>
override
createElement() → Element
Inflates this configuration to a concrete instance.
inherited
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