ReadyList<T, S extends BaseReadyListState<T>, TController extends ReadyListController<T, S>>.list constructor

const ReadyList<T, S extends BaseReadyListState<T>, TController extends ReadyListController<T, S>>.list({
  1. Key? key,
  2. ScrollController? scrollController,
  3. ReadyListWidgetBuilder<T, S>? headerSlivers,
  4. ReadyListWidgetBuilder<T, S>? innerFooterSlivers,
  5. ReadyListWidgetBuilder<T, S>? footerSlivers,
  6. required ReadyListItemBuilder<T> buildItem,
  7. ReorderOptions? reorderOptions,
  8. required TController controller,
  9. Iterable<T> filterItems(
    1. Iterable<T> items
    )?,
  10. StateResultCallBack<bool>? handleNestedScrollViewOverlap,
  11. PlaceholdersConfig? placeholdersConfig,
  12. bool? showNoMoreText,
  13. bool? allowRefresh,
  14. bool? allowLoadNext,
  15. String? noMoreText,
  16. String? loadMoreText,
  17. EdgeInsetsGeometry? padding,
  18. bool? reverse,
  19. bool keepAlive = true,
  20. GradientGetterCallback? shimmerScopeGradient,
  21. StateResultCallBack<bool>? shrinkWrap,
  22. int? pageSize,
  23. AxisConfig? axis,
  24. ScrollPhysics? physics,
  25. List<Widget>? topLevelFooterSlivers,
  26. List<Widget>? topLevelHeaderSlivers,
  27. bool? allowFakeItems,
})

Implementation

const ReadyList.list({
  Key? key,
  this.scrollController,
  this.headerSlivers,
  this.innerFooterSlivers,
  this.footerSlivers,
  required ReadyListItemBuilder<T> buildItem,
  ReorderOptions? reorderOptions,
  required this.controller,
  this.filterItems,
  this.handleNestedScrollViewOverlap,
  this.placeholdersConfig,
  this.showNoMoreText,
  this.allowRefresh,
  this.allowLoadNext,
  this.noMoreText,
  this.loadMoreText,
  this.padding,
  this.reverse,
  this.keepAlive = true,
  this.shimmerScopeGradient,
  this.shrinkWrap,
  this.pageSize,
  this.axis,
  this.physics,
  this.topLevelFooterSlivers,
  this.topLevelHeaderSlivers,
  this.allowFakeItems,
})  : _slivers = null,
      _buildItem = buildItem,
      _reorderOptions = reorderOptions,
      _gridDelegate = null,
      super(key: key);