ListOptions<T, S extends BaseReadyListState<T> > constructor
const
ListOptions<T, S extends BaseReadyListState<T> > ({
- GridDelegateCallback? gridDelegate,
- Widget trailing(
- T item
- ScrollController? scrollController,
- ReadyListWidgetBuilder<
T, S> ? headerSlivers, - PlaceholdersConfig? placeholdersConfig,
- bool? showNoMoreText,
- StateResultCallBack<
bool> ? handleNestedScrollViewOverlap, - String? noMoreText,
- String? loadMoreText,
- EdgeInsetsGeometry? padding,
- bool? reverse,
- GradientGetterCallback? shimmerScopeGradient,
- StateResultCallBack<
bool> ? shrinkWrap, - Color headerColor(
- double percent
- AxisConfig? axis,
- ScrollPhysics? physics,
- List<
Widget> ? topLevelHeaderSlivers, - int? pageSize,
- 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;