CustomFutureBuilder<T> constructor

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