NUIAnimatedListInterface<T, C> constructor
NUIAnimatedListInterface<T, C> ({
- required NUIListItemRepository repo,
- List<
T> ? initialList, - required Axis orientation,
- EdgeInsets? padding,
- bool shrinkWrap = true,
- double? startDivider,
- double? endDivider,
- double? middleDivider,
- ListFixedItemGetter? fixedFirstItem,
- ListFixedItemGetter? fixedLastItem,
- Map<
String, dynamic> ? checkedMap, - Map<
String, dynamic> ? configMap, - required OnListItemClickListener clickListener,
- int? skeletalCount,
- ListErrorHolderInflater<
T, C> ? errorHolder, - ListPlaceHolderInflater? placeHolder,
- NUILoadingListItem? skeletalInflater,
- NUILoadingListItem? paginationInflater,
- ScrollPhysics? scrollPhysics,
- bool? enablePagination,
- bool? enableSwipeRefresh,
- int? minimumPaginateCount,
- int? paginateMargin,
- NUIListViewBloc<
T, C> ? bloc, - bool skipAnimation = false,
- NUIListScrollListener? scrollListener,
- Duration? itemAnimationDuration,
- required NUIListController controller,
- Clip clipBehavior = Clip.hardEdge,
- NUIShaderMaskType? shaderType = NUIShaderMaskType.NONE,
- NUIListItemAnimation itemAnimation = NUIListItemAnimation.SCALE,
Implementation
NUIAnimatedListInterface({
required this.repo,
this.initialList,
required this.orientation,
this.padding,
this.shrinkWrap = true,
this.startDivider,
this.endDivider,
this.middleDivider,
this.fixedFirstItem,
this.fixedLastItem,
this.checkedMap,
this.configMap,
required this.clickListener,
this.skeletalCount,
this.errorHolder,
this.placeHolder,
this.skeletalInflater,
this.paginationInflater,
this.scrollPhysics,
this.enablePagination,
this.enableSwipeRefresh,
this.minimumPaginateCount,
this.paginateMargin,
this.bloc,
this.skipAnimation = false,
this.scrollListener,
this.itemAnimationDuration,
required this.controller,
this.clipBehavior = Clip.hardEdge,
this.shaderType = NUIShaderMaskType.NONE,
this.itemAnimation = NUIListItemAnimation.SCALE
});