AsyncTaskBuilder<T> constructor

const AsyncTaskBuilder<T>({
  1. Key? key,
  2. FetcherConfig? config,
  3. Color? barrierColor,
  4. bool runTaskOnStart = false,
  5. AsyncValueGetter<T>? task,
  6. required AsyncTaskChildBuilder<T> builder,
  7. AsyncValueSetter<T>? onSuccess,
})

Implementation

const AsyncTaskBuilder({
  super.key,
  this.config,
  this.barrierColor,
  this.runTaskOnStart = false,
  this.task,
  required this.builder,
  this.onSuccess,
});