NyFutureBuilder<T> constructor

const NyFutureBuilder<T>({
  1. Key? key,
  2. required Future<T>? future,
  3. required Widget child(
    1. BuildContext context,
    2. T? data
    ),
  4. Widget? loading,
  5. bool? useSkeletonizer,
  6. Widget onError(
    1. AsyncSnapshot snapshot
    )?,
})

Implementation

const NyFutureBuilder(
    {Key? key,
    required this.future,
    required this.child,
    this.loading,
    this.useSkeletonizer,
    this.onError})
    : super(key: key);