PIListView<T> constructor

PIListView<T>({
  1. Key? key,
  2. Future onRefresh()?,
  3. Future? onLoadMore()?,
  4. required List<T>? list,
  5. required Widget listItem(
    1. T,
    2. int
    ),
  6. bool? hasNext = true,
  7. required bool isFirstLoading,
  8. EdgeInsets? padding,
  9. Widget? separatorWidget,
  10. ScrollController? scrollController,
  11. bool reverse = false,
  12. bool shrinkWrap = false,
})

Implementation

PIListView({
  Key? key,
  this.onRefresh,
  this.onLoadMore,
  required this.list,
  required this.listItem,
  this.hasNext = true,
  required this.isFirstLoading,
  this.padding,
  this.separatorWidget,
  this.scrollController,
  this.reverse = false,
  this.shrinkWrap = false,
}) : super(key: key);