PaginationScreen<T> constructor

const PaginationScreen<T>({
  1. Key? key,
  2. required APagination pagination,
  3. required Future<List<T>> future(),
  4. required Widget pageBuilder(
    1. List<T>
    ),
  5. required Widget emptyWidget,
  6. required Widget errorWidget(
    1. dynamic,
    2. StackTrace,
    3. FutureSignal<List<T>>
    ),
  7. required Widget loadingWidget,
  8. RefreshController? refreshController,
  9. TextEditingController? searchController,
  10. double? cacheExtent,
  11. DragStartBehavior? dragStartBehavior,
  12. bool enablePullUp = true,
  13. Widget? footer,
  14. Widget? header,
  15. OnTwoLevel? onTwoLevel,
  16. ScrollPhysics? physics,
  17. bool? primary,
  18. bool? reverse,
  19. ScrollController? scrollController,
  20. Axis? scrollDirection,
  21. int? semanticChildCount,
})

Implementation

const PaginationScreen({
  super.key,
  required this.pagination,
  required this.future,
  required this.pageBuilder,
  required this.emptyWidget,
  required this.errorWidget,
  required this.loadingWidget,
  this.refreshController,
  this.searchController,
  this.cacheExtent,
  this.dragStartBehavior,
  this.enablePullUp = true,
  this.footer,
  this.header,
  this.onTwoLevel,
  this.physics,
  this.primary,
  this.reverse,
  this.scrollController,
  this.scrollDirection,
  this.semanticChildCount,
});