NUIHeaderListView<T, C> constructor

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

Implementation

NUIHeaderListView({
  required this.bloc,
  required this.header,
  required this.repo,
  required this.initialList,
  required this.clickListener,
  this.fixedFirstItem,
  this.fixedLastItem,
  this.cacheOffset,
  this.withItemCount = true,
  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,
  Key? key
}) : super(key: key);