NUIHeaderGrid<T, C> constructor

NUIHeaderGrid<T, C>({
  1. Widget? header,
  2. required NUIListViewBloc<T, C> bloc,
  3. required NUIListItemRepository repo,
  4. required List<T> initialList,
  5. required OnListItemClickListener clickListener,
  6. bool shrinkWrap = false,
  7. double? startDivider,
  8. double? endDivider,
  9. double? middleDivider,
  10. ListFixedItemGetter? fixedFirstItem,
  11. ListFixedItemGetter? fixedLastItem,
  12. Axis orientation = Axis.vertical,
  13. EdgeInsets? padding,
  14. bool enablePagination = false,
  15. bool enableSwipeRefresh = false,
  16. int minimumPaginateCount = 5,
  17. NUILoadingListItem? skeletalInflater,
  18. NUILoadingListItem? paginationInflater,
  19. ListShadowInflater? shadowInflater,
  20. ListPlaceHolderInflater? placeHolder,
  21. ListErrorHolderInflater? errorHolder,
  22. int skeletalCount = 1,
  23. Duration? itemAnimationDuration,
  24. NUIShaderMaskType? shaderType,
  25. required NUIListController controller,
  26. NUIListScrollListener? scrollListener,
  27. ScrollPhysics? scrollPhysics,
  28. Map<String, dynamic>? checkedMap,
  29. Map<String, dynamic>? configMap,
  30. required SliverGridDelegateWithFixedCrossAxisCount gridDelegate,
  31. bool withOverlapsAbsorber = false,
})

Implementation

NUIHeaderGrid({
  this.header,
  required NUIListViewBloc<T, C> bloc,
  required NUIListItemRepository repo,
  required List<T> initialList,
  required OnListItemClickListener clickListener,
  bool shrinkWrap = false,
  double? startDivider,
  double? endDivider,
  double? middleDivider,
  ListFixedItemGetter? fixedFirstItem,
  ListFixedItemGetter? fixedLastItem,
  Axis orientation = Axis.vertical,
  EdgeInsets? padding,
  bool enablePagination = false,
  bool enableSwipeRefresh = false,
  int minimumPaginateCount = 5,
  NUILoadingListItem? skeletalInflater,
  NUILoadingListItem? paginationInflater,
  ListShadowInflater? shadowInflater,
  ListPlaceHolderInflater? placeHolder,
  ListErrorHolderInflater? errorHolder,
  int skeletalCount = 1,
  Duration? itemAnimationDuration,
  NUIShaderMaskType? shaderType,
  required NUIListController controller,
  NUIListScrollListener? scrollListener,
  ScrollPhysics? scrollPhysics,
  Map<String, dynamic>? checkedMap,
  Map<String, dynamic>? configMap,
  required this.gridDelegate,
  this.withOverlapsAbsorber = false,
}) : super(
    repo: repo,
    initialList: initialList,
    orientation: orientation,
    padding: padding,
    shrinkWrap: shrinkWrap,
    startDivider: startDivider,
    endDivider: endDivider,
    middleDivider: middleDivider,
    fixedFirstItem: fixedFirstItem,
    fixedLastItem: fixedLastItem,
    checkedMap: checkedMap,
    configMap: configMap,
    clickListener: clickListener,
    skeletalCount: skeletalCount,
    errorHolder: errorHolder,
    placeHolder: placeHolder,
    scrollListener: scrollListener,
    shaderType: shaderType,
    skeletalInflater: skeletalInflater,
    paginationInflater: paginationInflater,
    scrollPhysics: scrollPhysics,
    enablePagination: enablePagination,
    itemAnimationDuration: itemAnimationDuration,
    enableSwipeRefresh: enableSwipeRefresh,
    minimumPaginateCount: minimumPaginateCount,
    bloc: bloc,
    skipAnimation: true,
    controller: controller,
    itemAnimation : NUIListItemAnimation.NONE
);