Skip to content

Commit d984512

Browse files
renancaraujorenancaraujo
authored andcommitted
0.11.0 (#397)
1 parent 0c75f31 commit d984512

File tree

6 files changed

+72
-92
lines changed

6 files changed

+72
-92
lines changed

CHANGELOG.md

Lines changed: 16 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<a name="0.11.0"></a>
2+
# [0.11.0](https://github.com/renancaraujo/photo_view/releases/tag/0.11.0) - 07 Mar 2021
3+
4+
5+
## Added
6+
- `initialScale` on controller #322 #289
7+
- [Breaking] Sound null safety support thanks to @DevNico #375
8+
9+
## Removed
10+
- `loadFailedChild` in favor of `errorBuilder`. #320 #287
11+
12+
[Changes][0.11.0]
13+
14+
115
<a name="0.10.3"></a>
216
# [0.10.3](https://github.com/renancaraujo/photo_view/releases/tag/0.10.3) - 15 Nov 2020
317

@@ -363,37 +377,7 @@ Minor bug fix
363377
[Changes][0.1.1]
364378

365379

366-
<a name="0.1.0"></a>
367-
# [0.1.0](https://github.com/renancaraujo/photo_view/releases/tag/0.1.0) - 27 Nov 2018
368-
369-
Release stabilizing usage API.
370-
371-
## Fixed
372-
- Warning when importing photo_view_scale_state #58
373-
- Blank image when defining `heroTag` #57 #59
374-
375-
## Deprecated
376-
- **[BREAKING]** `PhotoViewInline` class has been deprecated in favor of `PhotoView` only. #54 #53
377-
378-
## Changed
379-
- **[BREAKING]** `size` option has been renamed to `customSize` #54
380-
- **[BREAKING]** `backgroundColor` has been removed. Use `backgroundDecoration` instead. #56
381-
382-
## Removed
383-
- **[BREAKING]** `PhotoViewGallery` is not exported by `PhotoView` anymore, import `package:photo_view/photo_view_gallery.dart`
384-
385-
## Added
386-
- **Rotation gesture support**: use the option `enableRotation` to rotate the content as the user rotates the fingers in the pinch gesture. #36 #32
387-
388-
- **Custom child support**: added the constructor `PhotoView.customChild` which enables the user to show any widget instead of an image. #51 #55
389-
390-
- `initialScale` option #52 #29
391-
392-
393-
394-
[Changes][0.1.0]
395-
396-
380+
[0.11.0]: https://github.com/renancaraujo/photo_view/compare/0.10.3...0.11.0
397381
[0.10.3]: https://github.com/renancaraujo/photo_view/compare/0.10.2...0.10.3
398382
[0.10.2]: https://github.com/renancaraujo/photo_view/compare/0.10.1...0.10.2
399383
[0.10.1]: https://github.com/renancaraujo/photo_view/compare/0.10.0...0.10.1
@@ -422,7 +406,6 @@ Release stabilizing usage API.
422406
[0.2.0]: https://github.com/renancaraujo/photo_view/compare/0.1.3...0.2.0
423407
[0.1.3]: https://github.com/renancaraujo/photo_view/compare/0.1.2...0.1.3
424408
[0.1.2]: https://github.com/renancaraujo/photo_view/compare/0.1.1...0.1.2
425-
[0.1.1]: https://github.com/renancaraujo/photo_view/compare/0.1.0...0.1.1
426-
[0.1.0]: https://github.com/renancaraujo/photo_view/tree/0.1.0
409+
[0.1.1]: https://github.com/renancaraujo/photo_view/tree/0.1.1
427410

428411
<!-- Generated by changelog-from-release -->

example/lib/screens/examples/controller_example.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ class _ControllerExampleState extends State<ControllerExample> {
2424

2525
@override
2626
void initState() {
27-
controller = PhotoViewController()
28-
..scale = defScale
27+
controller = PhotoViewController(initialScale: defScale)
2928
..outputStateStream.listen(onController);
3029

3130
scaleStateController = PhotoViewScaleStateController()

example/pubspec.lock

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,49 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0-nullsafety.3"
10+
version: "2.5.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "2.1.0-nullsafety.3"
17+
version: "2.1.0"
1818
characters:
1919
dependency: transitive
2020
description:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.1.0-nullsafety.5"
24+
version: "1.1.0"
2525
charcode:
2626
dependency: transitive
2727
description:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0-nullsafety.3"
31+
version: "1.2.0"
3232
clock:
3333
dependency: transitive
3434
description:
3535
name: clock
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "1.1.0-nullsafety.3"
38+
version: "1.1.0"
3939
collection:
4040
dependency: transitive
4141
description:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.15.0-nullsafety.5"
45+
version: "1.15.0"
4646
fake_async:
4747
dependency: transitive
4848
description:
4949
name: fake_async
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "1.2.0-nullsafety.3"
52+
version: "1.2.0"
5353
flutter:
5454
dependency: "direct main"
5555
description: flutter
@@ -61,7 +61,7 @@ packages:
6161
name: flutter_svg
6262
url: "https://pub.dartlang.org"
6363
source: hosted
64-
version: "0.20.0-nullsafety.3"
64+
version: "0.21.0-nullsafety.0"
6565
flutter_test:
6666
dependency: "direct dev"
6767
description: flutter
@@ -73,21 +73,21 @@ packages:
7373
name: matcher
7474
url: "https://pub.dartlang.org"
7575
source: hosted
76-
version: "0.12.10-nullsafety.3"
76+
version: "0.12.10"
7777
meta:
7878
dependency: transitive
7979
description:
8080
name: meta
8181
url: "https://pub.dartlang.org"
8282
source: hosted
83-
version: "1.3.0-nullsafety.6"
83+
version: "1.3.0"
8484
path:
8585
dependency: transitive
8686
description:
8787
name: path
8888
url: "https://pub.dartlang.org"
8989
source: hosted
90-
version: "1.8.0-nullsafety.3"
90+
version: "1.8.0"
9191
path_drawing:
9292
dependency: transitive
9393
description:
@@ -108,14 +108,14 @@ packages:
108108
name: petitparser
109109
url: "https://pub.dartlang.org"
110110
source: hosted
111-
version: "4.0.0-nullsafety.1"
111+
version: "4.0.2"
112112
photo_view:
113113
dependency: "direct main"
114114
description:
115115
path: ".."
116116
relative: true
117117
source: path
118-
version: "1.0.0-nullsafety.0"
118+
version: "0.11.0"
119119
sky_engine:
120120
dependency: transitive
121121
description: flutter
@@ -127,63 +127,63 @@ packages:
127127
name: source_span
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "1.8.0-nullsafety.4"
130+
version: "1.8.1"
131131
stack_trace:
132132
dependency: transitive
133133
description:
134134
name: stack_trace
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137-
version: "1.10.0-nullsafety.6"
137+
version: "1.10.0"
138138
stream_channel:
139139
dependency: transitive
140140
description:
141141
name: stream_channel
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "2.1.0-nullsafety.3"
144+
version: "2.1.0"
145145
string_scanner:
146146
dependency: transitive
147147
description:
148148
name: string_scanner
149149
url: "https://pub.dartlang.org"
150150
source: hosted
151-
version: "1.1.0-nullsafety.3"
151+
version: "1.1.0"
152152
term_glyph:
153153
dependency: transitive
154154
description:
155155
name: term_glyph
156156
url: "https://pub.dartlang.org"
157157
source: hosted
158-
version: "1.2.0-nullsafety.3"
158+
version: "1.2.0"
159159
test_api:
160160
dependency: transitive
161161
description:
162162
name: test_api
163163
url: "https://pub.dartlang.org"
164164
source: hosted
165-
version: "0.2.19-nullsafety.6"
165+
version: "0.2.19"
166166
typed_data:
167167
dependency: transitive
168168
description:
169169
name: typed_data
170170
url: "https://pub.dartlang.org"
171171
source: hosted
172-
version: "1.3.0-nullsafety.5"
172+
version: "1.3.0"
173173
vector_math:
174174
dependency: transitive
175175
description:
176176
name: vector_math
177177
url: "https://pub.dartlang.org"
178178
source: hosted
179-
version: "2.1.0-nullsafety.5"
179+
version: "2.1.0"
180180
xml:
181181
dependency: transitive
182182
description:
183183
name: xml
184184
url: "https://pub.dartlang.org"
185185
source: hosted
186-
version: "5.0.0-nullsafety.1"
186+
version: "5.0.2"
187187
sdks:
188-
dart: ">=2.12.0-0.0 <3.0.0"
188+
dart: ">=2.12.0 <3.0.0"
189189
flutter: ">=1.24.0-7.0"

example/pubspec.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: photo_view_example
22
description: Example of how to use Photo View
3-
43
publish_to: "none"
5-
6-
version: 1.0.1+1
4+
version: 1.0.1
75

86
environment:
9-
sdk: ">=2.12.0-0 <3.0.0"
7+
sdk: ">=2.12.0"
108

119
dependencies:
12-
flutter_svg: ^0.20.0-nullsafety.3
10+
flutter_svg: ^0.21.0-nullsafety.0
1311
photo_view:
1412
path: ../
1513
flutter:

0 commit comments

Comments
 (0)