NUIHeaderListView<T, C> constructor
NUIHeaderListView<T, C> ({
- required NUIListViewBloc<
T, C> bloc, - required Widget header,
- required NUIListItemRepository repo,
- required List<
T> initialList, - required OnListItemClickListener clickListener,
- ListFixedItemGetter? fixedFirstItem,
- ListFixedItemGetter? fixedLastItem,
- double? cacheOffset,
- bool withItemCount = true,
- 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, - Key? key,
Implementation
NUIHeaderListView({
required this.bloc,
required this.header,
required this.repo,
required this.initialList,
required this.clickListener,
this.fixedFirstItem,
this.fixedLastItem,
this.cacheOffset,
this.withItemCount = true,
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,
Key? key
}) : super(key: key);