CustomFutureBuilder<T> constructor
const
CustomFutureBuilder<T> ({
- Key? key,
- T? initialData,
- required Future<
T> future(), - required CustomFutureBuilderDone<
T> onDone, - CustomFutureBuilderNone? onNone,
- CustomBuilderContext? onWaiting,
- CustomFutureBuilderError? onError,
- bool didUpdateWidgetCallFuture = false,
- bool initialCallFuture = false,
- ValueCallback<
BuildContext> ? initState, - ValueCallback<
BuildContext> ? didChangeDependencies, - ValueCallback<
BuildContext> ? didUpdateWidget, - ValueCallback<
BuildContext> ? deactivate, - ValueCallback<
BuildContext> ? dispose,
Implementation
const CustomFutureBuilder({
super.key,
this.initialData,
required this.future,
required this.onDone,
this.onNone,
this.onWaiting,
this.onError,
this.didUpdateWidgetCallFuture = false,
this.initialCallFuture = false,
this.initState,
this.didChangeDependencies,
this.didUpdateWidget,
this.deactivate,
this.dispose,
});