AntdScrollView<Style extends AntdStyle, WidgetType, Controller extends AntdScrollController> constructor
const
AntdScrollView<Style extends AntdStyle, WidgetType, Controller extends AntdScrollController> ({
- Key? key,
- Style? style,
- AntdStyleBuilder<
Style, WidgetType> ? styleBuilder, - bool vertical = true,
- bool reversed = false,
- Controller? controller,
- ScrollPhysics? physics = const BouncingScrollPhysics(),
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollBehavior? scrollBehavior,
- double cacheExtent = 1,
- CacheExtentStyle cacheExtentStyle = CacheExtentStyle.viewport,
- List<
Widget> ? slivers, - Duration? throttle,
- double? edgeThreshold,
- AntdOnScrollEdge? onEdgeReached,
- 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,
});