- Added web-native scrolling with a modular architecture:
- Core:
ControllerHostmixin,NativeScrollConfig, and types. - Base (non-web): uses a regular
ScrollController. - Web: DOM-backed scroller via
HtmlElementView+ bidirectional sync.
- Core:
- Improved sync and stability:
- Keeps DOM and Flutter positions in sync without feedback loops.
- Reacts to
ScrollMetricschanges to reduce drift when content size updates.
- Non-breaking API:
NativeScrollBuilderremains;configis optional with sensible defaults.