SimpleFutureBuilder<T> constructor
const
SimpleFutureBuilder<T> ({
- required Future<
T> future, - required BuildContextValueBuilder done,
- required Widget loading(),
- required ErrorWidgetCallback error,
- Key? key,
Create an instance.
Implementation
const SimpleFutureBuilder({
required this.future,
required this.done,
required this.loading,
required this.error,
super.key,
});