NUIPageView<T, C> constructor
NUIPageView<T, C> ({
- required NUIListViewBloc<
T, C> bloc, - required NUIListItemRepository repo,
- bool disableScroll = false,
- required List<
T> initialList, - bool hardLoad = false,
- required NUIPageViewController controller,
- required OnListItemClickListener clickListener,
- OnPageChangeListener? pageChangeListener,
- double? dividerPadding,
- int initialPosition = 0,
- double viewportFraction = 0.8,
- int skeletalCount = 0,
- ListFixedItemGetter? fixedFirstItem,
- ListFixedItemGetter? fixedLastItem,
- bool withItemCount = true,
- double? cacheOffset,
- bool enablePagination = false,
- int minimumPaginateCount = 5,
- ListLoadingInflater? skeletalInflater,
- ListLoadingInflater? paginationInflater,
- ListPlaceHolderInflater? placeHolder,
- ListErrorHolderInflater<
T, C> ? errorHolder, - Map<
String, dynamic> ? checkedMap, - Map<
String, dynamic> ? configMap,
Implementation
NUIPageView({
required this.bloc,
required this.repo,
this.disableScroll = false,
required this.initialList,
this.hardLoad = false,
required this.controller,
required this.clickListener,
this.pageChangeListener,
this.dividerPadding,
this.initialPosition = 0,
this.viewportFraction = 0.8,
this.skeletalCount = 0,
this.fixedFirstItem,
this.fixedLastItem,
this.withItemCount = true,
this.cacheOffset,
this.enablePagination = false,
this.minimumPaginateCount = 5,
this.skeletalInflater,
this.paginationInflater,
this.placeHolder,
this.errorHolder,
this.checkedMap,
this.configMap
});