positioned_scroll_observer 2.2.1
positioned_scroll_observer: ^2.2.1 copied to clipboard
An elegant scroll observer that support most scroll views could jump/animateToIndex without breaking current widgets.
2.2.1 #
- rename
OnstageStrategytoVisibilityStrategy - introduce
getVisibleItemsto indicate which items are visible in the viewport - README update
2.2.0 #
- support check the visible ratio of the observed RenderObject in a viewport
- support aligning the observed RenderObject when showing it in the viewport.
- add the GroupList example to show the usage of visibleRatioInViewport.
- see details: pull request
2.1.1 #
- deprecate
RetainableScrollController, and introducePositionRetainedScrollPhysicsto achieve same goals. - See details: pull request
2.1.0 #
-
[new feature]: support
RetainableScrollControllerto keep scroll offset when inserting a new item into the top of theListView. -
See details: pull request
2.0.0 (break change) #
See PR details about the below changes.
- support
SingleChildScrollViewandListWheelScrollView - remove
PositionedScrollController - break changes of the design for supporting
SliverScrollObserverandBoxScrollObserver.
1.0.1 - 2023-03-13 #
- improve documentation
- fix: determine if the given index is visible when [SliverAppBar] is overlapped with other slivers.
1.0.0 - 2023-03-13 #
- init release