FutureWrapper<T> typedef
FutureWrapper<T> =
FutureOr<T> Function({required BuildContext context, required FutureOr<T> future})
An interface for the future loader. See kShowFutureLoadingWidget
for
an example of a working implementation.
Implementation
typedef FutureWrapper<T> = FutureOr<T> Function({
required BuildContext context,
required FutureOr<T> future,
});