FutureWidget<T>.unsafeNoError constructor
const
FutureWidget<T>.unsafeNoError ({})
Creates a widget that builds depending on the state of a
FutureContext
.
printErrorsToConsole
is always set to true
(in case an unexpected
error happens).
Implementation
const FutureWidget.unsafeNoError({
required FutureGen<T> this.futureGen,
required this.onData,
required this.isRefreshingCallback,
required LoadingBuilder onLoading,
this.keepAlive = false,
super.key,
}) : onLoadingWithoutFirstLoad = null,
onLoadingWithFirstLoad = onLoading,
onError = null;