AbstractConfiguration constructor

AbstractConfiguration({
  1. Key? key,
  2. required Widget child,
  3. Widget loaderBuilder(
    1. BuildContext context
    )?,
  4. Widget smallLoaderBuilder(
    1. BuildContext context
    )?,
  5. Widget cachedDataWarningIconBuilder(
    1. BuildContext context,
    2. void onTap()
    )?,
  6. Widget cachedDataWarningDialogBuilder(
    1. BuildContext context,
    2. void onReload(
      1. BuildContext context
      )?
    )?,
  7. Widget abstractFormErrorBuilder(
    1. BuildContext context,
    2. void onInit()
    )?,
  8. Widget abstractItemErrorBuilder(
    1. BuildContext context,
    2. void onInit()
    )?,
  9. Widget abstractItemNoDataBuilder(
    1. BuildContext context,
    2. void onInit()
    )?,
  10. Widget abstractListErrorBuilder(
    1. BuildContext context,
    2. void onInit()
    )?,
  11. Widget abstractListNoDataBuilder(
    1. BuildContext context,
    2. void onInit()
    )?,
  12. AbstractTranslations translations = const AbstractTranslations(),
  13. PaginationConfiguration? paginationConfiguration,
})

Implementation

AbstractConfiguration({
  Key? key,
  required Widget child,
  this.loaderBuilder,
  this.smallLoaderBuilder,
  this.cachedDataWarningIconBuilder,
  this.cachedDataWarningDialogBuilder,
  this.abstractFormErrorBuilder,
  this.abstractItemErrorBuilder,
  this.abstractItemNoDataBuilder,
  this.abstractListErrorBuilder,
  this.abstractListNoDataBuilder,
  this.translations = const AbstractTranslations(),
  PaginationConfiguration? paginationConfiguration,
}) : super(
        key: key,
        child: child,
      ) {
  if (paginationConfiguration != null) {
    Pagination.configuration = paginationConfiguration;
  }
}