FutureBuilder<T> constructor

const FutureBuilder<T>(
  1. AsyncWidgetBuilder<T> builder, {
  2. Future<T>? future,
  3. T? initialData,
  4. String? key,
  5. Ref? ref,
})

Creates a new instance of FutureBuilder.

Implementation

const FutureBuilder(
  this.builder, {
  this.future,
  this.initialData,
  super.key,
  super.ref,
});