scrollPosition property Null safety

double? scrollPosition
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:

Implementation

final double? scrollPosition;