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