AsyncWidgetBuilder<T> typedef

AsyncWidgetBuilder<T> = Widget Function(BuildContext context, AsyncSnapshot<T> snapshot)

The type of the builder function used in async builders such as StreamBuilder and FutureBuilder.

Implementation

typedef AsyncWidgetBuilder<T> = Widget Function(
  BuildContext context,
  AsyncSnapshot<T> snapshot,
);