Skip to content

Commit 47d347d

Browse files
authored
chore: 0.15.0 (#553)
0.15.0
1 parent 163f383 commit 47d347d

File tree

7 files changed

+21
-6
lines changed

7 files changed

+21
-6
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<a name="0.15.0"></a>
2+
# [0.15.0](https://github.com/bluefireteam/photo_view/releases/tag/0.15.0) - 17 Apr 2024
3+
4+
## Added
5+
- Added pageSnapping option #542
6+
- make scale more smoothly #450
7+
- Add possibility to restrict user scale #537
8+
- Pass through semanticLabel #530
9+
10+
[Changes][0.15.0]
11+
12+
13+
114
<a name="0.14.0"></a>
215
# [0.14.0](https://github.com/bluefireteam/photo_view/releases/tag/0.14.0) - 24 May 2022
316

@@ -373,6 +386,7 @@ With this version, Photo view is stable compatible. It means that every new rele
373386
[Changes][0.2.1]
374387

375388

389+
[0.15.0]: https://github.com/bluefireteam/photo_view/compare/0.14.0...0.15.0
376390
[0.14.0]: https://github.com/bluefireteam/photo_view/compare/0.13.0...0.14.0
377391
[0.13.0]: https://github.com/bluefireteam/photo_view/compare/0.12.0...0.13.0
378392
[0.12.0]: https://github.com/bluefireteam/photo_view/compare/0.11.1...0.12.0

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2020 Renan C. Araújo
1+
Copyright 2024 Renan C. Araújo
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Even though being super simple to use, PhotoView is extremely customizable thoug
1313

1414
## Installation
1515

16-
Add `photo_view` as a dependency in your pubspec.yaml file ([what?](https://flutter.io/using-packages/)).
16+
Add `photo_view` as a dependency in your pubspec.yaml file.
1717

1818
Import Photo View:
1919
```dart

bin/changelog-from-release

-6.84 MB
Binary file not shown.

bin/changelog-from-release-mac

-6.8 MB
Binary file not shown.

lib/src/core/photo_view_core.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ class PhotoViewCoreState extends State<PhotoViewCore>
153153
final double newScale = _scaleBefore! * details.scale;
154154
final Offset delta = details.focalPoint - _normalizedPosition!;
155155

156-
if (widget.strictScale && (newScale > widget.scaleBoundaries.maxScale ||
157-
newScale < widget.scaleBoundaries.minScale)) {
156+
if (widget.strictScale &&
157+
(newScale > widget.scaleBoundaries.maxScale ||
158+
newScale < widget.scaleBoundaries.minScale)) {
158159
return;
159160
}
160161

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: photo_view
22
description: Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interactive images and other stuff such as SVG.
3-
version: 0.14.0
3+
version: 0.15.0
44
homepage: https://github.com/renancaraujo/photo_view
55

66
environment:
7-
sdk: ">=2.12.0 <3.0.0"
7+
sdk: ">=2.12.0 <4.0.0"
88
flutter: ">=1.6.0"
99

1010
dependencies:

0 commit comments

Comments
 (0)