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:
- AsyncStatelessComponent for building your own async stateless component.
- Inheritance
-
- Object
- Component
- AsyncStatelessComponent
- AsyncBuilder
Constructors
-
AsyncBuilder({required Stream<
Component> builder(BuildContext context), Key? key}) -
const
Properties
-
builder
→ Stream<
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) → Stream< 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