builder property

(Widget Function(BuildContext, AsyncSnapshot<List<T>>)?) builder
final

The build strategy currently used by this builder.

The builder is provided with an AsyncSnapshot object whose AsyncSnapshot.connectionState property will be one of the following values:

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

For more: check FutureBuilder's builder property.

Implementation

final Widget Function(BuildContext, AsyncSnapshot<List<T>>)? builder;