lastOffset property
The last scroll offset position.
This value stores the previous scroll position of the ruler, which can be used to detect changes in the scroll state and for smoother transitions when the ruler is scrolled.
Implementation
double lastOffset = 0;