services/scroll_anchor library

Classes

ScrollAnchor
Pure scroll-offset math for preserving viewport position across layout changes. It computes target offsets; it never touches a ScrollController — the widget moves the scroll position to the result.