AntdScrollView<Style extends AntdStyle, WidgetType, Controller extends AntdScrollController> class abstract

Inheritance
Implementers

Constructors

AntdScrollView({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, double? anchor})
const

Properties

anchor → double?
锚点
final
cacheExtent → double
预渲染区域大小
final
cacheExtentStyle → CacheExtentStyle
预渲染区域计算方式
final
controller → Controller?
控制器
final
dragStartBehavior → DragStartBehavior
拖动开始行为
final
edgeThreshold → double?
触边阈值 (0-1表示百分比)
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onEdgeReached → AntdOnScrollEdge?
当触碰到边界时的回调
final
physics → ScrollPhysics?
滚动物理效果
final
reversed → bool
是否反向滚动
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollBehavior → ScrollBehavior?
滚动行为
final
shrinkWrap → bool?
自动扩展高度
final
slivers → List<Widget>?
子组件
final
style → Style?
样式
finalinherited
styleBuilder → AntdStyleBuilder<Style, WidgetType>?
动态样式
finalinherited
throttle → Duration?
滚动事件节流时长
final
vertical → bool
滚动方向
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
getDefaultStyle(BuildContext context, AntdTheme theme, AntdMapToken token) → Style
inherited
getFinalStyle(BuildContext context, Style style, AntdMapToken token) → Style
inherited
getInputStyle(BuildContext context) → Style?
inherited
getStyle(BuildContext context) → Style
inherited
getStyleBuilder(BuildContext context) → AntdStyleBuilder<Style, WidgetType>?
inherited
getThemeStyle(BuildContext context, AntdTheme theme) → AntdStyleBuilder<Style, WidgetType>?
inherited
getWidget(BuildContext context) → WidgetType
inherited
margeStyle(Style defaultStyle, Style? style) → Style
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited