Skip to content

Commit 051f125

Browse files
authored
Merge pull request #23 from TatsuUkraine/release-1.3.0
Release 1.3.0
2 parents 9573dcd + 1f354a8 commit 051f125

File tree

5 files changed

+21
-8
lines changed

5 files changed

+21
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [1.3.0] - 2020-04-28
2+
3+
**Features**
4+
- Added physics proxy property to `InfiniteList`
5+
16
## [1.2.3] - 2019-09-08
27

38
**Bug fixes**

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ InfiniteList(
181181
182182
/// ScrollView anchor value.
183183
anchor: 0.0,
184+
185+
/// ScrollView physics value.
186+
physics: null,
184187
185188
/// Item builder
186189
///

lib/widget.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ class InfiniteList extends StatefulWidget {
178178
/// edge header positioned headers behave
179179
final Axis scrollDirection;
180180

181+
/// Proxy property for [ScrollView.physics]
182+
final ScrollPhysics physics;
183+
181184
final Key _centerKey;
182185

183186
InfiniteList({
@@ -191,6 +194,7 @@ class InfiniteList extends StatefulWidget {
191194
this.anchor = 0.0,
192195
this.cacheExtent,
193196
this.scrollDirection = Axis.vertical,
197+
this.physics,
194198
}) : _centerKey = (direction == InfiniteListDirection.multi) ? UniqueKey() : null,
195199
super(key: key);
196200

@@ -255,6 +259,7 @@ class _InfiniteListState extends State<InfiniteList> {
255259
anchor: widget.anchor,
256260
cacheExtent: widget.cacheExtent,
257261
scrollDirection: widget.scrollDirection,
262+
physics: widget.physics,
258263
);
259264

260265
@override

pubspec.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.2.0"
10+
version: "2.3.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "1.0.4"
17+
version: "1.0.5"
1818
charcode:
1919
dependency: transitive
2020
description:
@@ -52,28 +52,28 @@ packages:
5252
name: meta
5353
url: "https://pub.dartlang.org"
5454
source: hosted
55-
version: "1.1.6"
55+
version: "1.1.7"
5656
path:
5757
dependency: transitive
5858
description:
5959
name: path
6060
url: "https://pub.dartlang.org"
6161
source: hosted
62-
version: "1.6.2"
62+
version: "1.6.4"
6363
pedantic:
6464
dependency: transitive
6565
description:
6666
name: pedantic
6767
url: "https://pub.dartlang.org"
6868
source: hosted
69-
version: "1.7.0"
69+
version: "1.8.0+1"
7070
quiver:
7171
dependency: transitive
7272
description:
7373
name: quiver
7474
url: "https://pub.dartlang.org"
7575
source: hosted
76-
version: "2.0.3"
76+
version: "2.0.5"
7777
sky_engine:
7878
dependency: transitive
7979
description: flutter
@@ -106,7 +106,7 @@ packages:
106106
name: string_scanner
107107
url: "https://pub.dartlang.org"
108108
source: hosted
109-
version: "1.0.4"
109+
version: "1.0.5"
110110
term_glyph:
111111
dependency: transitive
112112
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >-
55
66
Can be customized or with config options or with override.
77
8-
version: 1.2.3
8+
version: 1.3.0
99
author: TatsuUkraine <[email protected]>
1010
homepage: https://github.com/TatsuUkraine/flutter_sticky_infinite_list
1111
repository: https://github.com/TatsuUkraine/flutter_sticky_infinite_list

0 commit comments

Comments
 (0)