PagedChildBuilderDelegate<ItemType> constructor
PagedChildBuilderDelegate<ItemType> ({
- required ItemWidgetBuilder<
ItemType> itemBuilder, - WidgetBuilder? firstPageErrorIndicatorBuilder,
- WidgetBuilder? newPageErrorIndicatorBuilder,
- WidgetBuilder? firstPageProgressIndicatorBuilder,
- WidgetBuilder? newPageProgressIndicatorBuilder,
- WidgetBuilder? noItemsFoundIndicatorBuilder,
- WidgetBuilder? noMoreItemsIndicatorBuilder,
- bool animateTransitions = false,
- Duration transitionDuration = const Duration(milliseconds: 250),
Implementation
PagedChildBuilderDelegate({
required this.itemBuilder,
this.firstPageErrorIndicatorBuilder,
this.newPageErrorIndicatorBuilder,
this.firstPageProgressIndicatorBuilder,
this.newPageProgressIndicatorBuilder,
this.noItemsFoundIndicatorBuilder,
this.noMoreItemsIndicatorBuilder,
this.animateTransitions = false,
this.transitionDuration = const Duration(milliseconds: 250),
});