AntdScrollPositionedBase<T, Style extends AntdStyle, WidgetType, Controller extends AntdScrollPositionController<T>> constructor

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

Implementation

const AntdScrollPositionedBase(
    {super.key,
    super.style,
    super.styleBuilder,
    super.controller,
    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.shrinkWrap,
    super.edgeThreshold,
    super.onEdgeReached,
    this.headers,
    this.footers,
    this.items = const [],
    this.itemBuilder,
    this.virtual = false,
    this.fit = AntdScrollItemFit.child,
    this.alignment,
    this.onItemPosition,
    this.gridDelegate,
    this.viewportOffset});