scrollPosition property Null safety

double? scrollPosition

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:


double? get scrollPosition => _scrollPosition;