builder property

ResponseWidgetBuilder<T> builder
final

The build strategy currently used by this builder.

The builder's Deferred object comes with a Deferred.where method which can be used to match the following states of asynchronous data:

  • Idle: future is null and has not started yet.

  • InProgress: future is not null, but has not yet completed.

  • Success: future is not null, and has completed successfully with no errors.

  • Error: future is not null, but has completed with an error.

This builder must only return a widget and should not have any side effects as it may be called multiple times.

Implementation

final ResponseWidgetBuilder<T> builder;