QueryResultFutureBuilder<T>.fromFuture constructor

QueryResultFutureBuilder<T>.fromFuture({
  1. Key? key,
  2. required Future<T>? future,
  3. WidgetBuilder? pendingBuilder,
  4. WidgetBuilder? waitingBuilder,
  5. FailedResultBuilder? failedBuilder,
  6. required ValueResultBuilder<T> builder,
})

Implementation

QueryResultFutureBuilder.fromFuture({
  Key? key,
  required Future<T>? future,
  WidgetBuilder? pendingBuilder,
  WidgetBuilder? waitingBuilder,
  FailedResultBuilder? failedBuilder,
  required ValueResultBuilder<T> builder,
}) : this(
        key: key,
        future: future?.asQueryResult(),
        pendingBuilder: pendingBuilder,
        waitingBuilder: waitingBuilder,
        failedBuilder: failedBuilder,
        builder: builder,
      );