NUIPageView<T, C> constructor

NUIPageView<T, C>({
  1. required NUIListViewBloc<T, C> bloc,
  2. required NUIListItemRepository repo,
  3. bool disableScroll = false,
  4. required List<T> initialList,
  5. bool hardLoad = false,
  6. required NUIPageViewController controller,
  7. required OnListItemClickListener clickListener,
  8. OnPageChangeListener? pageChangeListener,
  9. double? dividerPadding,
  10. int initialPosition = 0,
  11. double viewportFraction = 0.8,
  12. int skeletalCount = 0,
  13. ListFixedItemGetter? fixedFirstItem,
  14. ListFixedItemGetter? fixedLastItem,
  15. bool withItemCount = true,
  16. double? cacheOffset,
  17. bool enablePagination = false,
  18. int minimumPaginateCount = 5,
  19. ListLoadingInflater? skeletalInflater,
  20. ListLoadingInflater? paginationInflater,
  21. ListPlaceHolderInflater? placeHolder,
  22. ListErrorHolderInflater<T, C>? errorHolder,
  23. Map<String, dynamic>? checkedMap,
  24. Map<String, dynamic>? configMap,
})

Implementation

NUIPageView({
  required this.bloc,
  required this.repo,
  this.disableScroll = false,
  required this.initialList,
  this.hardLoad = false,
  required this.controller,
  required this.clickListener,
  this.pageChangeListener,
  this.dividerPadding,
  this.initialPosition = 0,
  this.viewportFraction = 0.8,
  this.skeletalCount = 0,
  this.fixedFirstItem,
  this.fixedLastItem,
  this.withItemCount = true,
  this.cacheOffset,
  this.enablePagination = false,
  this.minimumPaginateCount = 5,
  this.skeletalInflater,
  this.paginationInflater,
  this.placeHolder,
  this.errorHolder,
  this.checkedMap,
  this.configMap
});