NUIListView<T, C> constructor
NUIListView<T, C> ({
- 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,
- bool withItemCount = true,
- double? cacheOffset,
- Axis orientation = Axis.vertical,
- EdgeInsets? padding,
- bool enablePagination = false,
- bool enableSwipeRefresh = false,
- int minimumPaginateCount = 5,
- ListLoadingInflater? skeletalInflater,
- ListLoadingInflater? paginationInflater,
- ListPlaceHolderInflater? placeHolder,
- ListErrorHolderInflater<
T, C> ? errorHolder, - int skeletalCount = 1,
- ScrollPhysics? scrollPhysics,
- Map<
String, dynamic> ? checkedMap, - Map<
String, dynamic> ? configMap,
Implementation
NUIListView({
required this.bloc,
required this.repo,
required this.initialList,
required this.clickListener,
this.shrinkWrap = false,
this.startDivider,
this.endDivider,
this.middleDivider,
this.fixedFirstItem,
this.fixedLastItem,
this.withItemCount = true,
this.cacheOffset,
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
});