LazyLoadListView constructor
LazyLoadListView({
- required List<
ListItem> listItems, - Function? onListItemTap,
- Function? onScrollDidReachEnd,
- LazyLoadListViewItemType listItemType = LazyLoadListViewItemType.regularImageListItemType,
- bool shouldEndLoad = false,
- IconData? fourthRowPrefixIcon,
- String endOfListText = 'No more results available',
- Color loadingIndicatorColor = Colors.grey,
- IndexedWidgetBuilder? customListItemWidgetBuilder,
Implementation
LazyLoadListView({
required this.listItems,
this.onListItemTap,
this.onScrollDidReachEnd,
this.listItemType = LazyLoadListViewItemType.regularImageListItemType,
this.shouldEndLoad = false,
this.fourthRowPrefixIcon,
this.endOfListText = 'No more results available',
this.loadingIndicatorColor = Colors.grey,
this.customListItemWidgetBuilder,
});