AsyncStatelessComponent class abstract

The async variant of a stateless component.

An async component can return an async stream of children rather than a sync iterable. In all other aspects it behaves the same as a StatelessComponent.

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

See also:

Inheritance
Implementers

Constructors

AsyncStatelessComponent({Key? key})
Initializes key for subclasses.
const

Properties

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>
createElement() Element
Inflates this configuration to a concrete instance.
override
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