Skip to content

Commit

Permalink
Merge pull request #23 from TatsuUkraine/release-1.3.0
Browse files Browse the repository at this point in the history
Release 1.3.0
  • Loading branch information
TatsuUkraine authored Apr 28, 2020
2 parents 9573dcd + 1f354a8 commit 051f125
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.3.0] - 2020-04-28

**Features**
- Added physics proxy property to `InfiniteList`

## [1.2.3] - 2019-09-08

**Bug fixes**
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ InfiniteList(
/// ScrollView anchor value.
anchor: 0.0,
/// ScrollView physics value.
physics: null,
/// Item builder
///
Expand Down
5 changes: 5 additions & 0 deletions lib/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ class InfiniteList extends StatefulWidget {
/// edge header positioned headers behave
final Axis scrollDirection;

/// Proxy property for [ScrollView.physics]
final ScrollPhysics physics;

final Key _centerKey;

InfiniteList({
Expand All @@ -191,6 +194,7 @@ class InfiniteList extends StatefulWidget {
this.anchor = 0.0,
this.cacheExtent,
this.scrollDirection = Axis.vertical,
this.physics,
}) : _centerKey = (direction == InfiniteListDirection.multi) ? UniqueKey() : null,
super(key: key);

Expand Down Expand Up @@ -255,6 +259,7 @@ class _InfiniteListState extends State<InfiniteList> {
anchor: widget.anchor,
cacheExtent: widget.cacheExtent,
scrollDirection: widget.scrollDirection,
physics: widget.physics,
);

@override
Expand Down
14 changes: 7 additions & 7 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
version: "2.3.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "1.0.5"
charcode:
dependency: transitive
description:
Expand Down Expand Up @@ -52,28 +52,28 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
version: "1.1.7"
path:
dependency: transitive
description:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.2"
version: "1.6.4"
pedantic:
dependency: transitive
description:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
version: "1.8.0+1"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "2.0.5"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -106,7 +106,7 @@ packages:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "1.0.5"
term_glyph:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-
Can be customized or with config options or with override.
version: 1.2.3
version: 1.3.0
author: TatsuUkraine <[email protected]>
homepage: https://github.com/TatsuUkraine/flutter_sticky_infinite_list
repository: https://github.com/TatsuUkraine/flutter_sticky_infinite_list
Expand Down

0 comments on commit 051f125

Please sign in to comment.