IScrollDataInterface class abstract

Constructors

IScrollDataInterface()

Properties

firstVisibleIndex int
Index of the first child component in the viewport view. -1 means the location is not visible.
no setter
firstVisibleRatio double
The proportion of the first child at index in the viewport view, The range is 0.0 to 1.0.
no setter
gestureDirection GestureDirection?
The direction in which the gesture is dragged while scrolling.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasVisibleChild bool
Whether there are child components in the viewport view.
no setter
lastVisibleIndex int
Index of the last child component in the viewport view. -1 means the location is not visible.
no setter
lastVisibleRatio double
The proportion of the last child at index in the viewport view, The range is 0.0 to 1.0.
no setter
nearCenterRatio double
The proportion of the child distance close to center baseline, The range is 0.0 to 1.0.
no setter
nearCenterVisibleIndex int
Index of nearing the center baseline in the viewport view. -1 means the location is not visible.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollMetrics ScrollMetrics
A description of a Scrollable's contents, useful for modeling the state of its viewport.
no setter
visibleComputedSizes List<ComputedSize>
All measured dimension information in the viewport view.
no setter

Methods

getComputedSize(int index) ComputedSize?
Size information for the child at Index.
isMeasuredSize(int index) bool
Determine whether the dimensions have been measured for the child at Index.
isVisibleAt(int index) bool
Whether the child at index is in the viewport view.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visibleRatioAt(int index) double
The proportion of the child at index in the viewport view, The range is 0.0 to 1.0.

Operators

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