anchor_scroll_controller 0.4.3 copy "anchor_scroll_controller: ^0.4.3" to clipboard
anchor_scroll_controller: ^0.4.3 copied to clipboard

This package implement a ScrollController which supports anchor. That is, AnchorScrollController supports to scroll to index and listen to index changed while scrolling by user.

0.1.0 #

  • Initial Open Source release.

0.2.0 #

  • Support the case with already existed ScrollController.
  • Fix errors of the critical cases.

0.3.0 #

  • onIndexChanged gets called regardless of how the index is changed and add a userScroll parameter for onIndexChanged to indicate whether is scrolling by user.

0.3.1 #

  • Modify README.md

0.3.2 #

  • Fix issue #2: When the height of item is very large which leads to only one item is in the viewport, it will fall to infinite loop.
  • Bugfix: onIndexChanged will not call after AnchorScrollViewWrapper is update.

0.4.0 #

  • Refactor project.
  • Bugfix: fix possible infinite loop problems.

0.4.1 #

  • Added anchorOffset property to add some offset to each anchor

0.4.2 #

  • Added the pinGroupTitleOffset to apply to calculate current index

0.4.3 #

  • Fix issue #7: Implemented addIndexListener and removeIndexListener
44
likes
140
points
3.77k
downloads

Publisher

unverified uploader

Weekly Downloads

This package implement a ScrollController which supports anchor. That is, AnchorScrollController supports to scroll to index and listen to index changed while scrolling by user.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on anchor_scroll_controller