AntdScrollView<Style extends AntdStyle, WidgetType, Controller extends AntdScrollController> constructor

const AntdScrollView<Style extends AntdStyle, WidgetType, Controller extends AntdScrollController>({
  1. Key? key,
  2. Style? style,
  3. AntdStyleBuilder<Style, WidgetType>? styleBuilder,
  4. bool vertical = true,
  5. bool reversed = false,
  6. Controller? controller,
  7. ScrollPhysics? physics = const BouncingScrollPhysics(),
  8. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  9. ScrollBehavior? scrollBehavior,
  10. double cacheExtent = 1,
  11. CacheExtentStyle cacheExtentStyle = CacheExtentStyle.viewport,
  12. List<Widget>? slivers,
  13. Duration? throttle,
  14. double? edgeThreshold,
  15. AntdOnScrollEdge? onEdgeReached,
  16. bool? shrinkWrap,
})

Implementation

const AntdScrollView({
  super.key,
  super.style,
  super.styleBuilder,
  this.vertical = true,
  this.reversed = false,
  this.controller,
  this.physics = const BouncingScrollPhysics(),
  this.dragStartBehavior = DragStartBehavior.start,
  this.scrollBehavior,
  this.cacheExtent = 1,
  this.cacheExtentStyle = CacheExtentStyle.viewport,
  this.slivers,
  this.throttle,
  this.edgeThreshold,
  this.onEdgeReached,
  this.shrinkWrap,
});