AntdList<T> constructor
const
AntdList<T> ({
- Key? key,
- AntdListStyle? style,
- AntdStyleBuilder<
AntdListStyle, AntdList< ? styleBuilder,T> > - double? edgeThreshold,
- AntdOnScrollEdge? onEdgeReached,
- AntdListController<
T> ? controller, - double cacheExtent = 1.5,
- CacheExtentStyle cacheExtentStyle = CacheExtentStyle.viewport,
- ScrollPhysics? physics = const BouncingScrollPhysics(),
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollBehavior? scrollBehavior = const CupertinoScrollBehavior(),
- bool vertical = true,
- bool reversed = false,
- bool? shrinkWrap = false,
- bool virtual = false,
- AntdScrollItemFit fit = AntdScrollItemFit.child,
- required List<
T> items, - AntdScrollItemBuilder<
T, AntdListController< ? itemBuilder,T> > - AntdEdge? alignment,
- AntdItemPositionListener<
T> ? onItemPosition, - Duration? throttle,
- List<
Widget> ? headers, - Widget? header,
- bool? card,
Implementation
const AntdList({
super.key,
super.style,
super.styleBuilder,
super.edgeThreshold,
super.onEdgeReached,
super.controller,
super.cacheExtent = 1.5,
super.cacheExtentStyle = CacheExtentStyle.viewport,
super.physics = const BouncingScrollPhysics(),
super.dragStartBehavior = DragStartBehavior.start,
super.scrollBehavior = const CupertinoScrollBehavior(),
super.vertical = true,
super.reversed = false,
super.shrinkWrap = false,
super.virtual = false,
super.fit = AntdScrollItemFit.child,
required super.items,
super.itemBuilder,
super.alignment,
super.onItemPosition,
super.throttle,
super.headers,
super.footers,
this.header,
this.footer,
this.card,
});