File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11# extended_nested_scroll_view
22
3- [ ![ pub package] ( https://img.shields.io/pub/v/extended_nested_scroll_view.svg )] ( https://pub.dartlang.org/packages/extended_nested_scroll_view ) [ ![ GitHub stars] ( https://img.shields.io/github/stars/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/stargazers ) [ ![ GitHub forks] ( https://img.shields.io/github/forks/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/network ) [ ![ GitHub license] ( https://img.shields.io/github/license/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/blob/master/LICENSE ) [ ![ GitHub issues] ( https://img.shields.io/github/issues/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/issues ) <a target =" _blank " href =" https://jq.qq.com/?_wv=1027&k=5bcc0gy " ><img border =" 0 " src =" https://pub.idqqimg.com/wpa/images/group.png " alt =" flutter-candies " title =" flutter-candies " ></a >
3+ [](https://pub.dartlang.org/packages/extended_nested_scroll_view) [](https://github.com/fluttercandies/extended_nested_scroll_view/stargazers) [](https://github.com/fluttercandies/extended_nested_scroll_view/network) [](https://github.com/fluttercandies/extended_nested_scroll_view/blob/master/LICENSE) [](https://github.com/fluttercandies/extended_nested_scroll_view/issues) <a href="https://qm.qq.com/q/ZyJbSVjfSU"><img src="https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2Ffluttercandies%2F.github%2Frefs%2Fheads%2Fmain%2Fdata.yml&query=%24.qq_group_number&style=for-the-badge&label=QQ%E7%BE%A4&logo=qq&color=1DACE8" /></a>
44
55文档语言: [ English] ( README.md ) | [ 中文简体] ( README-ZH.md )
66
4444
4545我们通常使用下面的方法来保持列表的滚动状态:
4646
47- | 场景 | onlyOneScrollInBody | 描述 |
48- | ----------------------------- | ------------------- | ------------------------------------------------------------ |
49- | AutomaticKeepAliveClientMixin | true | ScrollPosition 不会被释放, 将 onlyOneScrollInBody 设置为 true, 这样我们才能知道哪个列表是当前活动的. |
47+ | 场景 | onlyOneScrollInBody | 描述 |
48+ | ----------------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------- |
49+ | AutomaticKeepAliveClientMixin | true | ScrollPosition 不会被释放, 将 onlyOneScrollInBody 设置为 true, 这样我们才能知道哪个列表是当前活动的. |
5050| PageStorageKey | false | ScrollPosition 会被释放, PageStorageKey 只是记录了滚动状态, ExtendedNestedScrollView 中的 scroll positions 只会有一个. |
5151
5252
Original file line number Diff line number Diff line change 11# extended_nested_scroll_view
22
3- [ ![ pub package] ( https://img.shields.io/pub/v/extended_nested_scroll_view.svg )] ( https://pub.dartlang.org/packages/extended_nested_scroll_view ) [ ![ GitHub stars] ( https://img.shields.io/github/stars/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/stargazers ) [ ![ GitHub forks] ( https://img.shields.io/github/forks/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/network ) [ ![ GitHub license] ( https://img.shields.io/github/license/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/blob/master/LICENSE ) [ ![ GitHub issues] ( https://img.shields.io/github/issues/fluttercandies/extended_nested_scroll_view )] ( https://github.com/fluttercandies/extended_nested_scroll_view/issues ) <a target =" _blank " href =" https://jq.qq.com/?_wv=1027&k=5bcc0gy " ><img border =" 0 " src =" https://pub.idqqimg.com/wpa/images/group.png " alt =" flutter-candies " title =" flutter-candies " ></a >
3+ [](https://pub.dartlang.org/packages/extended_nested_scroll_view) [](https://github.com/fluttercandies/extended_nested_scroll_view/stargazers) [](https://github.com/fluttercandies/extended_nested_scroll_view/network) [](https://github.com/fluttercandies/extended_nested_scroll_view/blob/master/LICENSE) [](https://github.com/fluttercandies/extended_nested_scroll_view/issues) <a href="https://qm.qq.com/q/ZyJbSVjfSU"><img src="https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2Ffluttercandies%2F.github%2Frefs%2Fheads%2Fmain%2Fdata.yml&query=%24.qq_group_number&style=for-the-badge&label=QQ%E7%BE%A4&logo=qq&color=1DACE8" /></a>
44
55Language: [ English] ( README.md ) | [ 中文简体] ( README-ZH.md )
66
@@ -41,9 +41,9 @@ give total height of pinned sliver headers in pinnedHeaderSliverHeightBuilder ca
4141
4242We usually keep list scroll position with following:
4343
44- | scene | onlyOneScrollInBody | description |
45- | ----------------------------- | ------------------- | ------------------------------------------------------------ |
46- | AutomaticKeepAliveClientMixin | true | ScrollPosition will not be disposed, set onlyOneScrollInBody to true so that we can know which list is isActived. |
44+ | scene | onlyOneScrollInBody | description |
45+ | ----------------------------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
46+ | AutomaticKeepAliveClientMixin | true | ScrollPosition will not be disposed, set onlyOneScrollInBody to true so that we can know which list is isActived. |
4747| PageStorageKey | false | ScrollPosition will be disposed, PageStorageKey just record the position info,the scroll positions in ExtendedNestedScrollView will always single one. |
4848
4949
You can’t perform that action at this time.
0 commit comments