NUIAnimatedList<T, C> constructor

NUIAnimatedList<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. Axis orientation = Axis.vertical,
  12. EdgeInsets? padding,
  13. bool enablePagination = false,
  14. bool enableSwipeRefresh = false,
  15. Clip clipBehavior = Clip.hardEdge,
  16. int minimumPaginateCount = 5,
  17. NUILoadingListItem? skeletalInflater,
  18. NUILoadingListItem? paginationInflater,
  19. ListShadowInflater? shadowInflater,
  20. ListPlaceHolderInflater? placeHolder,
  21. ListErrorHolderInflater? errorHolder,
  22. NUIListScrollListener? scrollListener,
  23. required NUIListController controller,
  24. int skeletalCount = 1,
  25. ScrollPhysics? scrollPhysics,
  26. Duration? itemAnimationDuration,
  27. NUIShaderMaskType? shaderType,
  28. Map<String, dynamic>? checkedMap,
  29. Map<String, dynamic>? configMap,
  30. NUIListItemAnimation itemAnimation = NUIListItemAnimation.SCALE,
})

Implementation

NUIAnimatedList({
  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,
  Clip clipBehavior = Clip.hardEdge,
  int minimumPaginateCount = 5,
  NUILoadingListItem? skeletalInflater,
  NUILoadingListItem? paginationInflater,
  ListShadowInflater? shadowInflater,
  ListPlaceHolderInflater? placeHolder,
  ListErrorHolderInflater? errorHolder,
  NUIListScrollListener? scrollListener,
  required NUIListController controller,
  int skeletalCount = 1,
  ScrollPhysics? scrollPhysics,
  Duration? itemAnimationDuration,
  NUIShaderMaskType? shaderType,
  Map<String, dynamic>? checkedMap,
  Map<String, dynamic>? configMap,
  NUIListItemAnimation itemAnimation = NUIListItemAnimation.SCALE
}) : 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,
    controller: controller,
    clickListener: clickListener,
    skeletalCount: skeletalCount,
    errorHolder: errorHolder,
    scrollListener: scrollListener,
    shaderType: shaderType,
    placeHolder: placeHolder,
    skeletalInflater: skeletalInflater,
    paginationInflater: paginationInflater,
    scrollPhysics: scrollPhysics,
    enablePagination: enablePagination,
    enableSwipeRefresh: enableSwipeRefresh,
    itemAnimationDuration: itemAnimationDuration,
    minimumPaginateCount: minimumPaginateCount,
    bloc: bloc,
    clipBehavior: clipBehavior,
    itemAnimation : itemAnimation ?? NUIListItemAnimation.SCALE
);