elva_scroll_view 0.0.7 copy "elva_scroll_view: ^0.0.7" to clipboard
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 CustomScrollView
    • ElvaScrollViewScrollController: Custom scroll controller with transport pixel node implementation
    • ElvaScrollViewPosition: Custom scroll position manager extending Flutter's native ScrollPositionWithSingleContext
    • ElvaScrollViewAnimationOverscrollDispatcher: Inertial scrolling animation dispatcher
  • Notifications

    • ElvaScrollViewAnimationScrollingNotification: Dispatched during global overscroll animation events
  • Configuration Options

    • debugLabel: Debug label for logging purposes
    • isShell: Shell mode flag for independent scroll areas
    • Custom scroll activity management
    • User drag offset handling
1
likes
150
points
135
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for nested scrolling with coordinated scrolling and inertial scrolling transfer capabilities.

Repository (GitHub)
View/report issues

Topics

#scroll-view #scrolling #inertial-scroll #coordinated-scroll #nested

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on elva_scroll_view