SimpleFutureBuilder<T> constructor

const SimpleFutureBuilder<T>({
  1. required Future<T> future,
  2. required BuildContextValueBuilder done,
  3. required Widget loading(),
  4. required ErrorWidgetCallback error,
  5. Key? key,
})

Create an instance.

Implementation

const SimpleFutureBuilder({
  required this.future,
  required this.done,
  required this.loading,
  required this.error,
  super.key,
});