AntdList<T> constructor

const AntdList<T>({
  1. Key? key,
  2. AntdListStyle? style,
  3. AntdStyleBuilder<AntdListStyle, AntdList<T>>? styleBuilder,
  4. double? edgeThreshold,
  5. AntdOnScrollEdge? onEdgeReached,
  6. AntdListController<T>? controller,
  7. double cacheExtent = 1.5,
  8. CacheExtentStyle cacheExtentStyle = CacheExtentStyle.viewport,
  9. ScrollPhysics? physics = const BouncingScrollPhysics(),
  10. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  11. ScrollBehavior? scrollBehavior = const CupertinoScrollBehavior(),
  12. bool vertical = true,
  13. bool reversed = false,
  14. bool? shrinkWrap = false,
  15. bool virtual = false,
  16. AntdScrollItemFit fit = AntdScrollItemFit.child,
  17. required List<T> items,
  18. AntdScrollItemBuilder<T, AntdListController<T>>? itemBuilder,
  19. AntdEdge? alignment,
  20. AntdItemPositionListener<T>? onItemPosition,
  21. Duration? throttle,
  22. List<Widget>? headers,
  23. List<Widget>? footers,
  24. Widget? header,
  25. Widget? footer,
  26. bool? card,
  27. bool? feedback = true,
})

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,
    this.feedback = true});