AntdPositionList<T> constructor

const AntdPositionList<T>({
  1. Key? key,
  2. List<Widget>? headers,
  3. List<Widget>? footers,
  4. required List<T> items,
  5. required AntdScrollItemBuilder<T, AntdScrollPositionController<T>>? itemBuilder,
  6. bool? shrinkWrap,
  7. bool virtual = false,
  8. AntdScrollPositionController<T>? controller,
  9. AntdScrollItemFit fit = AntdScrollItemFit.child,
  10. AntdEdge? alignment,
  11. AntdItemPositionListener<T>? onItemPosition,
  12. bool vertical = true,
  13. bool reversed = false,
  14. ScrollPhysics? physics = const BouncingScrollPhysics(),
  15. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  16. ScrollBehavior? scrollBehavior,
  17. double cacheExtent = 1.5,
  18. CacheExtentStyle cacheExtentStyle = CacheExtentStyle.viewport,
  19. Duration? throttle,
  20. double? edgeThreshold,
  21. AntdOnScrollEdge? onEdgeReached,
  22. SliverGridDelegate? gridDelegate,
  23. double? viewportOffset,
})

Implementation

const AntdPositionList(
    {super.key,
    super.headers,
    super.footers,
    required super.items,
    required super.itemBuilder,
    super.shrinkWrap,
    super.virtual = false,
    super.controller,
    super.fit = AntdScrollItemFit.child,
    super.alignment,
    super.onItemPosition,
    super.vertical = true,
    super.reversed,
    super.physics = const BouncingScrollPhysics(),
    super.dragStartBehavior = DragStartBehavior.start,
    super.scrollBehavior,
    super.cacheExtent = 1.5,
    super.cacheExtentStyle = CacheExtentStyle.viewport,
    super.throttle,
    super.edgeThreshold,
    super.onEdgeReached,
    super.gridDelegate,
    super.viewportOffset});