ListOptions<T, S extends BaseReadyListState<T>> constructor

const ListOptions<T, S extends BaseReadyListState<T>>({
  1. GridDelegateCallback? gridDelegate,
  2. Widget trailing(
    1. T item
    )?,
  3. ScrollController? scrollController,
  4. ReadyListWidgetBuilder<T, S>? headerSlivers,
  5. ReadyListWidgetBuilder<T, S>? footerSlivers,
  6. ReadyListWidgetBuilder<T, S>? innerFooterSlivers,
  7. PlaceholdersConfig? placeholdersConfig,
  8. bool? showNoMoreText,
  9. StateResultCallBack<bool>? handleNestedScrollViewOverlap,
  10. String? noMoreText,
  11. String? loadMoreText,
  12. EdgeInsetsGeometry? padding,
  13. bool? reverse,
  14. GradientGetterCallback? shimmerScopeGradient,
  15. StateResultCallBack<bool>? shrinkWrap,
  16. Color headerColor(
    1. double percent
    )?,
  17. AxisConfig? axis,
  18. ScrollPhysics? physics,
  19. List<Widget>? topLevelFooterSlivers,
  20. List<Widget>? topLevelHeaderSlivers,
  21. int? pageSize,
  22. required TitleBuilderCallBack<T> title,
})

Implementation

const ListOptions({
  this.gridDelegate,
  this.trailing,
  this.scrollController,
  this.headerSlivers,
  this.footerSlivers,
  this.innerFooterSlivers,
  this.placeholdersConfig,
  this.showNoMoreText,
  this.handleNestedScrollViewOverlap,
  this.noMoreText,
  this.loadMoreText,
  this.padding,
  this.reverse,
  this.shimmerScopeGradient,
  this.shrinkWrap,
  this.headerColor,
  this.axis,
  this.physics,
  this.topLevelFooterSlivers,
  this.topLevelHeaderSlivers,
  this.pageSize,
  required TitleBuilderCallBack<T> title,
})  : _builder = null,
      _title = title,
      allowFakeItems = true;