CustomFutureBuilder<T> constructor

const CustomFutureBuilder<T>({
  1. Key? key,
  2. T? initial,
  3. required Future<T> future(),
  4. required ValueThreeCallbackT<Widget, BuildContext, T, dynamic Function()> onDone,
  5. ValueTwoCallbackT<Widget, BuildContext, dynamic Function()>? onNone,
  6. ValueCallbackTV<Widget, BuildContext>? onWaiting,
  7. ValueThreeCallbackT<Widget, BuildContext, Object?, dynamic Function()>? onError,
  8. bool didUpdateWidgetCallFuture = false,
  9. bool initialCallFuture = false,
  10. ValueCallback<BuildContext>? initState,
  11. ValueCallback<BuildContext>? didUpdateWidget,
  12. ValueCallback<BuildContext>? didChangeDependencies,
  13. ValueCallback<BuildContext>? deactivate,
  14. 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,
});