From 1ec387edbeddeb9d895c53e71a11d2d5dda6cbf2 Mon Sep 17 00:00:00 2001 From: Denis Beketsky Date: Mon, 9 Nov 2020 23:11:16 +0200 Subject: [PATCH 1/3] fixed positive list re-render --- lib/widget.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/widget.dart b/lib/widget.dart index 73d83c9..f7b53b7 100644 --- a/lib/widget.dart +++ b/lib/widget.dart @@ -242,8 +242,9 @@ class InfiniteList extends StatefulWidget { this.cacheExtent, this.scrollDirection = Axis.vertical, this.physics, - }) : _centerKey = - (direction == InfiniteListDirection.multi) ? UniqueKey() : null, + }) : _centerKey = (direction == InfiniteListDirection.multi) + ? const ValueKey('center-key') + : null, super(key: key); @override From cc72fff860f7972386fabff39136d0e46319630b Mon Sep 17 00:00:00 2001 From: Denis Beketsky Date: Mon, 9 Nov 2020 23:21:25 +0200 Subject: [PATCH 2/3] bump version, added info to changelog --- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 868cf4e..daa84dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [3.0.1] - 2020-11-09 + +- fixed positive list render or rebuild + ## [3.0.0] - 2020-08-05 - stable v3 release diff --git a/pubspec.yaml b/pubspec.yaml index 1fbf6c7..03c2b83 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ description: >- Can be customized or with config options or with override. -version: 3.0.0 +version: 3.0.1 homepage: https://github.com/TatsuUkraine/flutter_sticky_infinite_list repository: https://github.com/TatsuUkraine/flutter_sticky_infinite_list issue_tracker: https://github.com/TatsuUkraine/flutter_sticky_infinite_list/issues From ec0fc62844f9b99dbcb6fb948157f973c368b46f Mon Sep 17 00:00:00 2001 From: Denis Beketsky Date: Mon, 9 Nov 2020 23:23:49 +0200 Subject: [PATCH 3/3] fix typo in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index daa84dd..4c75a39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## [3.0.1] - 2020-11-09 -- fixed positive list render or rebuild +- fixed positive list render on rebuild ## [3.0.0] - 2020-08-05