AbstractConfiguration constructor
AbstractConfiguration({
- Key? key,
- required Widget child,
- Widget loaderBuilder(
- BuildContext context
- Widget smallLoaderBuilder(
- BuildContext context
- Widget cachedDataWarningIconBuilder(
- BuildContext context,
- void onTap()
- Widget cachedDataWarningDialogBuilder(
- BuildContext context,
- void onReload(
- BuildContext context
- Widget abstractFormErrorBuilder(
- BuildContext context,
- void onInit()
- Widget abstractItemErrorBuilder(
- BuildContext context,
- void onInit()
- Widget abstractItemNoDataBuilder(
- BuildContext context,
- void onInit()
- Widget abstractListErrorBuilder(
- BuildContext context,
- void onInit()
- Widget abstractListNoDataBuilder(
- BuildContext context,
- void onInit()
- AbstractTranslations translations = const AbstractTranslations(),
- 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;
}
}