FutureBuilder2<T> constructor
const
FutureBuilder2<T> ({
- Key? key,
- required Future<
T> future, - required ResponseWidgetBuilder<
T> builder,
Creates a widget that builds itself based on the latest snapshot of interaction with a Future.
The builder must not be null.
Implementation
const FutureBuilder2({
Key? key,
required this.future,
required this.builder,
}) : super(key: key);