QueryResultFutureBuilder<T>.fromFuture constructor
QueryResultFutureBuilder<T>.fromFuture ({
- Key? key,
- required Future<
T> ? future, - WidgetBuilder? pendingBuilder,
- WidgetBuilder? waitingBuilder,
- FailedResultBuilder? failedBuilder,
- 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,
);