INNER CODE UNIT · Dart

PagedChildBuilderDelegate

EdsonBueno/infinite_scroll_pagination · lib/src/base/paged_child_builder_delegate.dart:13

class PagedChildBuilderDelegate<ItemType> {
  const 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),
    this.invisibleItemsThreshold = 3,
  });

  /// The builder for list items.
  final ItemWidgetBuilder<ItemType> itemBuilder;

  /// The builder for the first page's error indicator.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…