elva_scroll_view 0.0.7
elva_scroll_view: ^0.0.7 copied to clipboard
A Flutter package for nested scrolling with coordinated scrolling and inertial scrolling transfer capabilities.
0.0.7 - 2026-01-23 #
-
优化 Dispatcher 传递机制
- 重构
ElvaScrollViewAnimationOverscrollDispatcher的实现,提升跨节点惯性滚动的稳定性 - 优化动画队列管理,根据滚动方向智能排序节点,确保滚动逻辑正确
- 改进时间连续性处理,通过累积时间消耗确保跨节点动画平滑过渡
- 优化节点切换逻辑,自动跳过失效节点并递归查找有效节点
- 改进 AnimationController 管理,每次切换节点时正确处理 vsync 上下文
- 重构
-
代码质量提升
- 完善边界情况处理,提升系统健壮性
- 优化状态管理,确保动画状态在节点间正确传递
Initial Release #
-
Core Features
- Support for nested scrolling with coordinated scrolling across multiple levels
- Inertial scrolling transfer capabilities across scroll components
- Shell mode for independent scroll areas (prevents scroll offset from propagating upward)
- Flexible Builder pattern for easy integration
-
Components
ElvaScrollViewBuilder: Main builder component for wrapping CustomScrollViewElvaScrollViewScrollController: Custom scroll controller with transport pixel node implementationElvaScrollViewPosition: Custom scroll position manager extending Flutter's native ScrollPositionWithSingleContextElvaScrollViewAnimationOverscrollDispatcher: Inertial scrolling animation dispatcher
-
Notifications
ElvaScrollViewAnimationScrollingNotification: Dispatched during global overscroll animation events
-
Configuration Options
debugLabel: Debug label for logging purposesisShell: Shell mode flag for independent scroll areas- Custom scroll activity management
- User drag offset handling