native_web_scroll 1.0.1
native_web_scroll: ^1.0.1 copied to clipboard
Native (DOM) scrolling for Flutter Web with a single ScrollController.
Changelog #
1.0.1 #
- 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.