AsyncValueWidget<T> constructor

const AsyncValueWidget<T>({
  1. Key? key,
  2. required AsyncValue<T?> value,
  3. required Widget data(
    1. T
    ),
  4. dynamic onEmpty()?,
  5. Widget? empty,
  6. Widget? loader,
  7. bool isScaffold = false,
  8. bool isThin = true,
  9. String? title,
  10. Widget onError(
    1. dynamic
    )?,
})

Implementation

const AsyncValueWidget({
  super.key,
  required this.value,
  required this.data,
  this.onEmpty,
  this.empty,
  this.loader,
  this.isScaffold = false,
  this.isThin = true,
  this.title,
  this.onError,
});