CustomFutureBuilder<T> constructor
const
CustomFutureBuilder<T> ({
- Key? key,
- T? initial,
- required Future<
T> future(), - required ValueThreeCallbackT<
Widget, BuildContext, T, dynamic Function()> onDone, - ValueTwoCallbackT<
Widget, BuildContext, dynamic Function()> ? onNone, - ValueCallbackTV<
Widget, BuildContext> ? onWaiting, - ValueThreeCallbackT<
Widget, BuildContext, Object?, dynamic Function()> ? onError, - bool didUpdateWidgetCallFuture = false,
- bool initialCallFuture = false,
- ValueCallback<
BuildContext> ? initState, - ValueCallback<
BuildContext> ? didUpdateWidget, - ValueCallback<
BuildContext> ? didChangeDependencies, - ValueCallback<
BuildContext> ? deactivate, - ValueCallback<
BuildContext> ? dispose,
Implementation
const CustomFutureBuilder({
super.key,
this.initial,
required this.future,
required this.onDone,
this.onNone,
this.onWaiting,
this.onError,
this.didUpdateWidgetCallFuture = false,
this.initialCallFuture = false,
super.initState,
super.didUpdateWidget,
super.didChangeDependencies,
super.deactivate,
super.dispose,
});