AsyncLoadingBuilderBuilder typedef

AsyncLoadingBuilderBuilder = Widget Function(BuildContext context, bool loading, SetFutureFunction setFuture)

A builder function type for AsyncLoadingBuilder that takes the current BuildContext, a boolean indicating whether the widget is currently loading, and a function to set a new future. The builder should return a widget that represents the current state of the asynchronous operation.

Implementation

typedef AsyncLoadingBuilderBuilder = Widget Function(
  BuildContext context,
  bool loading,
  SetFutureFunction setFuture,
);