PaginatedListView<T, Q> constructor

const PaginatedListView<T, Q>({
  1. Key? key,
  2. required PaginatedSearchControllerProvider<T, Q> paginatedController,
  3. required WidgetFromItemBuilder<T> itemBuilder,
  4. WidgetBuilder? loadingBuilder,
  5. PaginationErrorBuilder? errorBuilder,
  6. WidgetBuilder? emptyBuilder,
  7. Axis scrollDirection = Axis.vertical,
  8. bool reverse = false,
  9. ScrollController? controller,
  10. bool? primary,
  11. ScrollPhysics? physics,
  12. bool shrinkWrap = false,
  13. double? cacheExtent,
  14. int? semanticChildCount,
  15. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  16. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  17. String? restorationId,
  18. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const PaginatedListView({
  super.key,
  required super.paginatedController,
  required super.itemBuilder,
  super.loadingBuilder,
  super.errorBuilder,
  super.emptyBuilder,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
});