callAsyncLoader method

Future<T> callAsyncLoader(
  1. Future<T> futureFunction, {
  2. Widget? customLoader,
})

Implementation

Future<T> callAsyncLoader(Future<T> futureFunction,
    {Widget? customLoader}) async {
  try {
    return await _callDialog(customLoader, futureFunction);
  } catch (e) {
    rethrow;
  }
}