FutureOnce<T> constructor

const FutureOnce<T>({
  1. Key? key,
  2. required Future<T> futureFactory(),
  3. required Widget builder(
    1. T
    ),
  4. Widget? loading,
})

Implementation

const FutureOnce({
  super.key,
  required this.futureFactory,
  required this.builder,
  this.loading,
});