PackageTrack
Sign in Get early access

scrollview_observer

A widget for observing data related to the child widgets being displayed in a ScrollView.

1.27.1 129K downloads/mo #1018 most downloaded on pub.dev fluttercandies/flutter_scrollview_observer

What this package is like to depend on

Last release 2 days ago

22 Aug 2026

Release timing varies

gaps range from 8 days to 5 months

Nearly every release is documented

notes for 57 of 57 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

57 releases · first in 2022

3 releases in the last 12 months

see the full history below

Release timeline

57 releases · May 2022 to Aug 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 57
  1. 1.27.1 22 Aug 2026
    Release notes

    What's Changed

    • fix(ObserverController): correct the scrolling clamped by an outdated scrollExtent by @LinXunFeng in #151
    • ci(assign-issue): grant issues write permission to GITHUB_TOKEN by @LinXunFeng in #152
    • ci(workflows): pin actions to hashes and restrict token permissions by @LinXunFeng in #153

    Full Changelog: 1.27.0...1.27.1

    Open source →
    Release notes
    • ObserverController
      • Correct the scrolling clamped by an outdated scrollExtent by @LinXunFeng in #150.
    Open source →
  2. 1.27.0 31 May 2026
    Release notes

    What's Changed

    • ChatScrollObserver
      • Record sliverContext and support conditional shrink wrap observation in standby by @LinXunFeng.
    • ObserverWidget
      • Add cancelOnceObserveNotificationBubbling to control notification bubbling by @LinXunFeng.

    Full Changelog: 1.26.3...1.27.0

    Open source →
    Release notes
    • ChatScrollObserver
      • Record sliverContext and support conditional shrink wrap observation in standby by @LinXunFeng.
    • ObserverWidget
      • Add cancelOnceObserveNotificationBubbling to control notification bubbling by @LinXunFeng.
    • Others
      • Add return types and type annotations to satisfy lint rules by @LinXunFeng.
    Open source →
  3. 1.26.3 05 Jan 2026
    Release notes

    What's Changed

    • ObserverWidget
    • ObserverController

    Full Changelog: 1.26.2...1.26.3

    Open source →
    Release notes
    • ObserverWidget
      • Fix incorrect tag comparison in _checkTagChange by @LinXunFeng in #143.
    • ObserverController
      • Add missing type annotations by @LinXunFeng.
    Open source →
  4. 1.26.2 11 Aug 2025
    Release notes

    What's Changed

    • ObserverUtils
      • Refine the logic of calcAnchorTabIndex method by @LinXunFeng.

    Full Changelog: 1.26.1...1.26.2

    Open source →
    Release notes
    • ObserverUtils
      • Refine the logic of calcAnchorTabIndex method by @LinXunFeng.
    Open source →
  5. 1.26.1 17 May 2025
    Release notes

    What's Changed

    • ChatScrollObserver

    Full Changelog: 1.26.0...1.26.1

    Open source →
    Release notes
    • ChatScrollObserver
      • Refine the logic of standby by @LinXunFeng.
    Open source →
  6. 1.26.0 23 Mar 2025
    Release notes

    What's Changed

    • NestedScrollUtil
      • Add await support for animateTo and jumpTo methods by @LinXunFeng.

    Full Changelog: 1.25.2...1.26.0

    Open source →
    Release notes
    • NestedScrollUtil
      • Add await support for animateTo and jumpTo methods by @LinXunFeng.
    Open source →
  7. 1.25.2 14 Mar 2025
    Release notes

    What's Changed

    • ObserverWidget

    Full Changelog: 1.25.1...1.25.2

    Open source →
    Release notes
    • ObserverWidget
      • Fix "ObserverWidgetState was used after being disposed" by @LinXunFeng in #120 and #123.
    Open source →
  8. 1.25.1 02 Feb 2025
    Release notes

    What's Changed

    Full Changelog: 1.25.0...1.25.1

    Open source →
    Release notes
    • ObserverWidget
      • Fix observation result inaccurate by @LinXunFeng in #113.
    Open source →
  9. 1.25.0 24 Jan 2025
    Release notes

    What's Changed

    • ChatScrollObserver
      • Add customAdjustPosition.

    Above features are implemented by @LinXunFeng.

    Full Changelog: 1.24.0...1.25.0

    Open source →
    Release notes
    • ChatScrollObserver
      • Add customAdjustPosition.
    Open source →
  10. 1.24.0 24 Nov 2024
    Release notes

    What's Changed

    • ObserveModel
      • Add displayingChildModelMap.
    • ChatScrollObserver
      • Add customAdjustPositionDelta.

    Above features are implemented by @LinXunFeng.

    Full Changelog: 1.23.0...1.24.0

    Open source →
    Release notes
    • ObserveModel
      • Add displayingChildModelMap.
    • ChatScrollObserver
      • Add customAdjustPositionDelta.
    Open source →
  11. 1.23.0 03 Nov 2024
    Release notes
    • ObserverWidget
      • Make ObserverWidget listenable.
    Open source →
  12. 1.22.0 13 Oct 2024
    Release notes
    • ObserverWidget
      • Add scrollNotificationPredicate.
    Open source →
  13. 1.21.2 31 Aug 2024
    Release notes
    • ObserverWidget
      • Fix web support by @Ahmadre in #91.
    Open source →
  14. 1.21.1 26 Aug 2024
    Release notes
    • ObserverCore
      • Improve the logic of handleListObserve and handleGridObserve.
    Open source →
  15. 1.21.0 30 Jun 2024
    Release notes
    • ObserverController
      • Add onPrepareScrollToIndex for jumpTo and animateTo.
    • NestedScrollUtil
      • Add jumpTo and animateTo methods.
    Open source →
  16. 1.20.0 19 May 2024
    Release notes
    • ObserverController
      • Add observeIntervalForScrolling to set the minimum amount of time to wait for firing observe callback during scrolling.
    • ObserverUtils
      • Improve the logic of isDisplayingSliverInViewport method.
    • ScrollViewOnceObserveNotificationResult
      • Add observeViewportResultModel.
    • ChatScrollObserver
      • Add ChatScrollObserverRefIndexType.
      • Add refIndexType to specify the role of refItemIndex and refItemIndex.
    • Slivers
      • Add SliverObserveContext.
    • ObserveDisplayingChildModelMixin
      • Add visibleFraction and visibleMainAxisSize.
    Open source →
  17. 1.19.1 16 Mar 2024
    Release notes
    • ListViewObserver
      • Support SliverVariedExtentList in 74.
    • ChatScrollObserver
      • Safely obtain the constraints of RenderSliver.
    • ObserverController
      • Adapt to scenes where CustomScrollView specifies center.
    Open source →
  18. 1.19.0 10 Dec 2023
    Release notes
    • SliverViewObserver
      • Add customOverlap property.
    • NestedScrollUtil
      • To better support NestedScrollView.
    • ObserverCore
      • Improve the judgment logic of whether the sliver is visible.
    • ObserverController
      • Adjust the controller to be modifiable.
    Open source →
  19. 1.18.2 25 Nov 2023
    Release notes
    • ChatScrollObserver
      • Fix keeping position not working by @LinXunFeng in #64
    Open source →
  20. 1.18.1 16 Nov 2023
    Release notes
    • Add a check to determine whether the BuildContext is mounted by @LinXunFeng in #62
    Open source →
  21. 1.18.0 11 Nov 2023
    Release notes
    • ObserverController
      • Add some scrolling task notifications extending from ObserverScrollNotification.
      • The jumpTo method and animateTo method support await.
      • Add isForbidObserveCallback property.
      • Add isForbidObserveViewportCallback property.
    Open source →
  22. 1.17.0 29 Oct 2023
    Release notes
    • ObserverController
      • The parameter isFixedHeight in the jumpTo method and animateTo method supports GridView and supports ScrollView built by third-party package by @percival888 in #52.
    Open source →
  23. 1.16.5 17 Sep 2023
    Release notes
    • ObserverWidget
      • Improve the processing logic of scroll notification when scrolling with the mouse wheel is not smooth by @qiangjindong in #48.
    • ChatScrollObserver
      • Update isShrinkWrap once during initialization by @LinXunFeng. #47
    • ObserverController
      • Fix unable to jump when sliver is too far away and has no any child by @LinXunFeng. #45
      • Fix continuous page turning due to incorrect index by @LinXunFeng.
    Open source →
  24. 1.16.4 30 Aug 2023
    Release notes
    • Supplement missing type conversion adjustments.
    Open source →
  25. 1.16.3 26 Aug 2023
    Release notes
    • Observation Model
      • Add viewport property to observation model.
      • Correct the calculation logic of some values to adapt to the scene of multiple slivers.
    Open source →
  26. 1.16.2 26 Aug 2023
    Release notes
    • ObserverWidget
      • Adjust the conversion type of viewport.offset to ScrollPosition by @LiuDongCai in #41.
    • ObserveDisplayingChildModelMixin
      • Adapt displayPercentage to scenes with SliverPersistentHeader by @percival888 in #43.
      • Refine the logic of calculateDisplayPercentage method by @LinXunFeng.
    Open source →
  27. 1.16.1 17 Aug 2023
    Release notes
    • Compatible with flutter 3.13.0
    Open source →
  28. 1.16.0 13 Aug 2023
    Release notes
    • ObserverController
      • dispatchOnceObserve method supports directly getting observation result.
    Open source →
  29. 1.15.0 19 Jul 2023
    Release notes
    • Slivers
      • Add SliverObserveContextToBoxAdapter.
    Open source →
  30. 1.14.2 12 Jul 2023
    Release notes
    • ObserverWidget
      • Safe to use context. #35.
    Open source →
  31. 1.14.1 10 Jul 2023
    Release notes
    • ChatScrollObserver
      • Improve the logic of the conversion type.
    Open source →
  32. 1.14.0 11 Jun 2023
    Release notes
    • ChatScrollObserver
      • Support for keeping position of generative messages (eg: ChatGPT)
    Open source →
  33. 1.13.2 04 Jun 2023
    Release notes
    • ObserverWidget
      • Fix getting bad observation result on web. Thanks to @rmasarovic for the test in #31
    Open source →
  34. 1.13.1 03 Jun 2023
    Release notes
    • ObserverCore
      • Fix no getting all child widgets those are displayed when there are separators in ListView. #31
    • ObserverUtils
      • Safely call findRenderObject method.
    Open source →
  35. 1.13.0 27 May 2023
    Release notes
    • ObserverUtils
      • The calcAnchorTabIndex method supports GridView.
    • ObserverCore
      • Refine the logic of handleListObserve method and handleGridObserve method.
    Open source →
  36. 1.12.0 21 May 2023
    Release notes
    • ObserverWidget
      • Support custom observation object and observation logic.
      • Refine the logic for finding the first sliver in viewport.
    Open source →
  37. 1.11.0 14 May 2023
    Release notes
    • ChatScrollObserver
      • Support inserting multiple messages at once.
    • ObserverWidget
      • GridViewObserver is compatible with waterfall flow.
      • SliverViewObserver supports observation of viewport.
    Open source →
  38. 1.10.1 02 Mar 2023
    Release notes
    • ObserverController
      • fix: targetOffset calculate may be negative by @zeqinjie in #21.
    Open source →
  39. 1.10.0 16 Feb 2023
    Release notes
    • ObserverController
      • Improve [_calculateTargetLayoutOffset] logic.
      • The jumpTo method and animateTo method both add a parameter [padding].
    • ObserverIndexPositionModel
      • Add property [padding].
    Open source →
  40. 1.9.2 07 Feb 2023
    Release notes
    • ObserverWidget
      • Catch the exception thrown by getting size.
    Open source →
  41. 1.9.1 27 Dec 2022
    Release notes
    • ObserverController
      • Modify offset calculation logic in method [_calculateTargetLayoutOffset].
    Open source →
  42. 1.9.0 04 Dec 2022
    Release notes
    • ObserverWidget
      • Add property [autoTriggerObserveTypes] and property [triggerOnObserveType].
    • ObserverController
      • Method [dispatchOnceObserve] adds parameter [isForce].
    Open source →
  43. 1.8.0 29 Nov 2022
    Release notes
    • Scrolling to the specified index location
      • Supports initializing the index position of the scrollView.
      • Deprecated [clearIndexOffsetCache], please use [clearScrollIndexCache] instead.
    Open source →
  44. 1.7.0 24 Nov 2022
    Release notes
    • ChatScrollObserver
      • Add the property [fixedPositionOffset].
      • Deprecated [ChatObserverClampinScrollPhysics], please use [ChatObserverClampingScrollPhysics] instead.
    Open source →
  45. 1.6.2 10 Nov 2022
    Release notes
    • Fix lib not working when itemExtent is set in ListView.
    Open source →
  46. 1.6.1 03 Nov 2022
    Release notes
    • Fix lib not working when shrinkWrap is true in scrollView.
    Open source →
  47. 1.6.0 31 Oct 2022
    Release notes
    • ChatScrollObserver
      • Add onHandlePositionCallback.
    Open source →
  48. 1.5.1 22 Oct 2022
    Release notes
    • Fix scrollView being stuck when child widget get [size].
    Open source →
  49. 1.5.0 29 Sep 2022
    Release notes
    • ChatScrollObserver
      • Quickly implement the chat session page effect.
    • Scrolling to the specified index location
      • Add the property [cacheJumpIndexOffset].
    Open source →
  50. 1.4.0 27 Aug 2022
    Release notes
    • Scrolling to the specified index location
      • New alignment parameter in the jumpTo and animateTo methods.
      • Fixed a bug that caused scrolling to the first child to jitter when using offset parameter.
    Open source →
  51. 1.3.0 21 Aug 2022
    Release notes
    • Scrolling to the specified index location supports the SliverPersistentHeader.
    • Add ObserverUtils
      • Method calcPersistentHeaderExtent: Calculate current extent of RenderSliverPersistentHeader.
      • Method calcAnchorTabIndex: Calculate the anchor tab index.
    Open source →
  52. 1.2.0 07 Aug 2022
    Release notes
    • The jumpTo and animateTo methods add an isFixedHeight parameter to optimize performance when the child widget is of fixed height
    • Add the properties [leadingMarginToViewport] and [trailingMarginToViewport]
    • Support mixing usage of SliverList and SliverGrid
    Open source →
  53. 1.1.0 19 Jul 2022
    Release notes
    • Supports scrolling to the specified index location
    Open source →
  54. 1.0.1 03 Jul 2022
    Release notes
    • Delete useless code
    Open source →
  55. 1.0.0 03 Jul 2022
    Release notes
    • Implements a way to use without sliver [BuildContext]
    • Change [onObserve] to [onObserveAll], and add a new [onObserve] callback to listen for changes in the child widget display of the first sliver
    • Add [ObserverController]
    Open source →
  56. 0.1.0 05 Jun 2022
    Release notes
    • Support GridView
    • Support the horizontal
    Open source →
  57. 0.0.1 28 May 2022
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive