Skip to content

Latest commit

 

History

History
141 lines (108 loc) · 4.23 KB

CHANGELOG.md

File metadata and controls

141 lines (108 loc) · 4.23 KB

1.16.1

  • compatible with flutter 3.13.0

1.16.0

  • ObserverController
    • dispatchOnceObserve method supports directly getting observation result.

1.15.0

  • Slivers
    • Add SliverObserveContextToBoxAdapter.

1.14.2

  • ObserverWidget
    • Safe to use context. #35.

1.14.1

  • Chat Observer
    • Improve the logic of the conversion type.

1.14.0

  • Chat Observer
    • Support for keeping position of generative messages (eg: ChatGPT)

1.13.2

  • ObserverWidget
    • Fix getting bad observation result on web. Thanks to @rmasarovic for the test in #31

1.13.1

  • ObserverCore
    • Fix no getting all child widgets those are displayed when there are separators in ListView. #31
  • ObserverUtils
    • Safely call findRenderObject method.

1.13.0

  • ObserverUtils
    • The calcAnchorTabIndex method supports GridView.
  • ObserverCore
    • Refine the logic of handleListObserve method and handleGridObserve method.

1.12.0

  • ObserverWidget
    • Support custom observation object and observation logic.
    • Refine the logic for finding the first sliver in viewport.

1.11.0

  • Chat Observer
    • Support inserting multiple messages at once.
  • ObserverWidget
    • GridViewObserver is compatible with waterfall flow.
    • SliverViewObserver supports observation of viewport.

1.10.1

  • ObserverController
    • fix: targetOffset calculate may be negative by @zeqinjie in #21.

1.10.0

  • ObserverController
    • Improve [_calculateTargetLayoutOffset] logic.
    • The jumpTo method and animateTo method both add a parameter [padding].
  • ObserverIndexPositionModel
    • Add property [padding].

1.9.2

  • ObserverWidget
    • Catch the exception thrown by getting size.

1.9.1

  • ObserverController
    • Modify offset calculation logic in method [_calculateTargetLayoutOffset].

1.9.0

  • ObserverWidget
    • Add property [autoTriggerObserveTypes] and property [triggerOnObserveType].
  • ObserverController
    • Method [dispatchOnceObserve] adds parameter [isForce].

1.8.0

  • Scrolling to the specified index location
    • Supports initializing the index position of the scrollView.
    • Deprecated [clearIndexOffsetCache], please use [clearScrollIndexCache] instead.

1.7.0

  • Chat Observer
    • Add the property [fixedPositionOffset].
    • Deprecated [ChatObserverClampinScrollPhysics], please use [ChatObserverClampingScrollPhysics] instead.

1.6.2

  • Fix lib not working when itemExtent is set in ListView.

1.6.1

  • Fix lib not working when shrinkWrap is true in scrollView.

1.6.0

  • Chat Observer
    • Add onHandlePositionCallback.

1.5.1

  • Fix scrollView being stuck when child widget get [size].

1.5.0

  • Chat Observer
    • Quickly implement the chat session page effect.
  • Scrolling to the specified index location
    • Add the property [cacheJumpIndexOffset].

1.4.0

  • 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.

1.3.0

  • 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.

1.2.0

  • 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

1.1.0

  • Supports scrolling to the specified index location

1.0.1

  • Delete useless code

1.0.0

  • 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]

0.1.0

  • Support GridView
  • Support the horizontal

0.0.1

  • Initial release