scrollPosition property Null safety
final
Indicates the current scrolling position in logical pixels if the node is scrollable.
The properties scrollExtentMin and scrollExtentMax indicate the valid in-range values for this property. The value for scrollPosition may (temporarily) be outside that range, e.g. during an overscroll.
See also:
- ScrollPosition.pixels, from where this value is usually taken.
Implementation
final double? scrollPosition;