GSList<T> constructor

GSList<T>({
  1. Key? key,
  2. required GSListController controller,
  3. required OnItemBuilder onItemBuilder,
  4. required OnLoadData onLoadData,
  5. required int itemCount,
  6. bool? paginationEnable,
  7. double? height,
  8. Widget? emptyWidget,
  9. Widget? loadingWidget,
  10. Axis? scrollDirection,
  11. bool? shrinkWrap,
  12. ShimmerProperties? shimmerProperties,
  13. bool? enableShimmerLoading,
  14. bool? enablePullDownRefresh,
  15. ScrollPhysics? physics,
})

Implementation

GSList({
  Key? key,
  required this.controller,
  required this.onItemBuilder,
  required this.onLoadData,
  required this.itemCount,
  this.paginationEnable,
  this.height,
  this.emptyWidget,
  this.loadingWidget,
  this.scrollDirection,
  this.shrinkWrap,
  this.shimmerProperties,
  this.enableShimmerLoading,
  this.enablePullDownRefresh,
  this.physics,
}) : super(key: key);