NUIListView<T, C> constructor

NUIListView<T, C>({
  1. required NUIListViewBloc<T, C> bloc,
  2. required NUIListItemRepository repo,
  3. required List<T> initialList,
  4. required OnListItemClickListener clickListener,
  5. bool shrinkWrap = false,
  6. double? startDivider,
  7. double? endDivider,
  8. double? middleDivider,
  9. ListFixedItemGetter? fixedFirstItem,
  10. ListFixedItemGetter? fixedLastItem,
  11. bool withItemCount = true,
  12. double? cacheOffset,
  13. Axis orientation = Axis.vertical,
  14. EdgeInsets? padding,
  15. bool enablePagination = false,
  16. bool enableSwipeRefresh = false,
  17. int minimumPaginateCount = 5,
  18. ListLoadingInflater? skeletalInflater,
  19. ListLoadingInflater? paginationInflater,
  20. ListPlaceHolderInflater? placeHolder,
  21. ListErrorHolderInflater<T, C>? errorHolder,
  22. int skeletalCount = 1,
  23. ScrollPhysics? scrollPhysics,
  24. Map<String, dynamic>? checkedMap,
  25. Map<String, dynamic>? configMap,
})

Implementation

NUIListView({
  required this.bloc,
  required this.repo,
  required this.initialList,
  required this.clickListener,
  this.shrinkWrap = false,
  this.startDivider,
  this.endDivider,
  this.middleDivider,
  this.fixedFirstItem,
  this.fixedLastItem,
  this.withItemCount = true,
  this.cacheOffset,
  this.orientation = Axis.vertical,
  this.padding,
  this.enablePagination = false,
  this.enableSwipeRefresh = false,
  this.minimumPaginateCount = 5,
  this.skeletalInflater,
  this.paginationInflater,
  this.placeHolder,
  this.errorHolder,
  this.skeletalCount = 1,
  this.scrollPhysics,
  this.checkedMap,
  this.configMap
});