Loader<T> constructor

const Loader<T>({
  1. Key? key,
  2. required LoaderCallback<T> load,
  3. bool autoReload = true,
  4. WidgetValueBuilder<T>? builder,
  5. Widget? loadingWidget,
  6. Widget errorBuilder(
    1. String error
    )?,
})

Implementation

const Loader({
  Key? key,
  required this.load,
  this.autoReload = true,
  this.builder,
  this.loadingWidget,
  this.errorBuilder,
}) : super(key: key);