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 ({
- Key? key,
- ScrollController? scrollController,
- ReadyListWidgetBuilder<
T, S> ? headerSlivers, - required ReadyListItemBuilder<
T> buildItem, - ReorderOptions? reorderOptions,
- required TController controller,
- Iterable<
T> filterItems(- Iterable<
T> items
- Iterable<
- StateResultCallBack<
bool> ? handleNestedScrollViewOverlap, - PlaceholdersConfig? placeholdersConfig,
- bool? showNoMoreText,
- bool? allowRefresh,
- bool? allowLoadNext,
- String? noMoreText,
- String? loadMoreText,
- EdgeInsetsGeometry? padding,
- bool? reverse,
- bool keepAlive = true,
- GradientGetterCallback? shimmerScopeGradient,
- StateResultCallBack<
bool> ? shrinkWrap, - int? pageSize,
- AxisConfig? axis,
- ScrollPhysics? physics,
- List<
Widget> ? topLevelHeaderSlivers, - 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);