AsyncComponentBuilder<T> typedef
AsyncComponentBuilder<T> =
Iterable<Component> Function(BuildContext context, AsyncSnapshot<T> snapshot)
Signature for strategies that build components based on asynchronous interaction.
See also:
- StreamBuilder, which delegates to an AsyncComponentBuilder to build itself based on a snapshot from interacting with a Stream.
- FutureBuilder, which delegates to an AsyncComponentBuilder to build itself based on a snapshot from interacting with a Future.
Implementation
typedef AsyncComponentBuilder<T> = Iterable<Component> Function(BuildContext context, AsyncSnapshot<T> snapshot);