AsyncTaskBuilder<T> constructor
const
AsyncTaskBuilder<T> ({
- Key? key,
- FetcherConfig? config,
- Color? barrierColor,
- bool runTaskOnStart = false,
- AsyncValueGetter<
T> ? task, - required AsyncTaskChildBuilder<
T> builder, - AsyncValueSetter<
T> ? onSuccess,
Implementation
const AsyncTaskBuilder({
super.key,
this.config,
this.barrierColor,
this.runTaskOnStart = false,
this.task,
required this.builder,
this.onSuccess,
});