photo_view
Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interactive images and other stuff such as SVG.
0.15.0
1.0M downloads/mo
#345 most downloaded on pub.dev
renancaraujo/photo_view
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 1.9 years
Most releases are documented
notes for 31 of 47 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
50 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
50 releases · May 2018 to Apr 2024Releases
latest 50-
0.15.017 Apr 2024Release notes
Open source →Added
- Added pageSnapping option #542
- make scale more smoothly #450
- Add possibility to restrict user scale #537
- Pass through semanticLabel #530
[Changes][0.15.0]
<a name="0.14.0"></a>
-
0.14.024 May 2022Release notes
Open source →Fixed
- Made wantKeepAlive parameter to make it optional #479
- Update README Urls #471
- Null check operator used on a null value #476
- Flutter Update: 2.10.0 - Fix: Looking up a deactivated widget's ancestor is unsafe fix #499
[Changes][0.14.0]
<a name="0.13.0"></a>
-
0.13.005 Oct 2021Release notes
Open source →Fixed
- Network image issue on flutter 2.5 #467 #464
Added
- allowImplicitScrolling for preloading next page on PageView #458
AutomaticKeepAliveClientMixinto keep state on photoview #452
[Changes][0.13.0]
<a name="0.12.0"></a>
-
0.12.019 Jul 2021Release notes
Open source →Fixed:
- 'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent' #423 (comment) #420 #441 #442 #445
- Fix onScaleEnd operator #415
Added:
- Added enablePanAlways to allow the user to pan any view without restrictions #427
Release notes
Open source →Fixed:
- 'PointerEvent' can't be assigned to the parameter type 'PointerDownEvent' https://github.com/fireslime/photo_view/issues/423#issuecomment-847681903 #420 #441 #442 #445
- Fix onScaleEnd operator #415
Added:
- Added enablePanAlways to allow the user to pan any view without restrictions #427
[Changes][0.12.0]
<a name="0.11.1"></a>
-
0.11.109 Mar 2021Release notes
Open source →Fixed:
- Wrong null check operator #399 #400
[Changes][0.11.1]
<a name="0.11.0"></a>
-
0.11.007 Mar 2021Release notes
Open source →Added
initialScaleon controller #322 #289- [Breaking] Sound null safety support thanks to @DevNico #375
Removed
loadFailedChildin favor oferrorBuilder. #320 #287
[Changes][0.11.0]
<a name="0.10.3"></a>
-
0.10.315 Nov 2020Release notes
Open source →Fixed
- Fix double and single tap on gallery #293 #271 #326
[Changes][0.10.3]
<a name="0.10.2"></a>
-
0.10.222 Aug 2020Release notes
Open source →Added
errorBuilderoption to show a widget when things go south when retrieving the image. #320 #287
Deprecated
loadFailedChildin favor oferrorBuilder. #320 #287
Fixed
loadFailedChilddoesn't show error widget #320 #316- Hero animation should work in all situations #320 #303
[Changes][0.10.2]
<a name="0.10.1"></a>
-
0.10.118 Aug 2020Release notes
Open source →Added
- Add ability to disable gestures #233 #234
- Allow programmatic rotate when PhotoView enableRotation is disabled #259 #257
[Changes][0.10.1]
<a name="0.10.0"></a>
-
0.10.012 Aug 2020Release notes
Open source →Removed [breaking]
loadingChildoptions in bothPhotoViewandPhotoViewGalleryin favor ofloadingBuilder. Previously deprecated; #307
Fixed
- Unnecessary scale state controller value streamed #227 #267
- GestureDetector winning arena issue that made the gallery not work well #266 #212
- When the network goes down, photo_view would crash #275 #308
Internal
- Updatde example app #300
Release notes
Open source →Removed [breaking]
loadingChildoptions in bothPhotoViewandPhotoViewGalleryin favor ofloadingBuilder. Previously deprecated; #307
Fixed
- Unnecessary scale state controller value streamed #227 #267
- GestureDetector winning arena issue that made the gallery not work well #266 #212
- When the network goes down, photo_view would crash #275 #308
Internal
- Updatde example app #300
[Changes][0.10.0]
<a name="0.9.2"></a>
-
0.9.215 Feb 2020Release notes
Open source →Added
loadingBuilderwhich provides a way to create a progress loader. Thanks to @neckaros #250 #254
Deprecated
loadingChildoptions in bothPhotoViewandPhotoViewGalleryin favor ofloadingBuilder;
Fixed
- Gallery undefined issue #251
- PhotoViewCore throws when using PhotoCiewScaleStateController within gallery. #254 #217
basePositiononPhotoViewGallerybeing ignored #255 #219
[Changes][0.9.2]
<a name="0.9.1"></a>
-
0.9.107 Jan 2020Release notes
Open source →Added
filterQualityoption to the property to improve image quality after scale #228loadFailedChildoption to specify a widget instance to be shown when the image retrieval process failed #231
Changed
- Internal: stop using deprecated
inheritFromWidgetOfExactTypein favor ofdependOnInheritedWidgetOfExactType#235 - Made childSize optional for PhotoViewGalleryPageOptions.customChild #229
[Changes][0.9.1]
<a name="0.9.0"></a>
-
0.9.021 Nov 2019Release notes
Open source →Added
tightModeoption that allowsPhotoViewto be used inside a dialog. #167 #211PhotoViewGestureDetectorScopewidget that allowsPhotoViewto be used on scrollable contexts (PageView, list view etc) #211- Dialogs and onetap example on the exmaple app #211
Changed
- Made
childSizeto be optional. Now it expands if no value is provided #210 #199
[Changes][0.9.0]
<a name="0.8.2"></a>
-
0.8.219 Nov 2019Release notes
Open source →Fixed
- Clamping position on controller #208 #160
Added
- Exposing hit test on gesture detector #209
[Changes][0.8.2]
<a name="0.8.1"></a>
-
0.8.119 Nov 2019Release notes
Open source →Added
- Web support on the example app, thanks to @YuyaAbo #201
Fixed
- ScaleState were not respected when resizing photoview widget. #163 #207
[Changes][0.8.1]
<a name="0.8.0"></a>
-
0.8.006 Nov 2019Release notes
Open source →Changed
- Change to our own custom gesture detector, making it work nicely with an extenal gesture detector. It solves #41 which was previously tackled on #185 but with some minor bugs (vertical scrolling pageviews and proper responsiveness on pan gestures). #197
- Renamed
PhotoViewImageWrappertoPhotoViewCoreand reorganized src files, not externally relevant. #197
Removed
- [BREAKING] Removed unnecessary function typedefs like
PhotoViewScaleStateChangedCallback#197 - [BREAKING] Removed
usePageViewWrapperoption from the gallery #197
[Changes][0.8.0]
<a name="0.7.0"></a>
-
0.7.027 Oct 2019Release notes
Open source →Solving a one year issue
Added
- Detect image edge behavior #185 #41
[Changes][0.7.0]
<a name="0.6.0"></a>
-
0.7.0-next23 Oct 2019 pre-releaseNothing published for this version
-
0.6.016 Oct 2019Release notes
Open source →Fixed
- Tons of typos on docs #189
- Weird rotation behavior #189 #174 #92
- Example app deps update #189
- General code improvs #189
[Changes][0.6.0]
<a name="0.5.0"></a>
-
0.5.007 Sep 2019Release notes
Open source →Changed
- [BREAKING] All hero attributes where moved into a new data class:
PhotoViewHeroAttributes. #175 #177 - Some internal changes fixed a severe memory leak involving controllers delegate: #180
[Changes][0.5.0]
<a name="0.4.2"></a>
- [BREAKING] All hero attributes where moved into a new data class:
-
0.4.212 Jul 2019Release notes
Open source →Fixed
onTapUpandonTapDownonPhotoViewGallery#146
[Changes][0.4.2]
<a name="0.4.1"></a>
-
0.4.111 Jul 2019Release notes
Open source →First release since halt due to Flutter breaking changes.
With this version, Photo view is stable compatible. It means that every new release must be compatible with the channel master. Breaking changes that are still on master or beta channels will not be included on any new release.
Added
- The PageView reverse parameter #159
[Changes][0.4.1]
<a name="0.4.0"></a>
-
0.4.025 May 2019Release notes
Open source →** Fix Flutter breaking change **
- [BREAKING] This release requires Flutter 1.6.0, which in the date of this release, is not even beta. This is due to several master channel users who complained on a recent breaking change which broke one of the PhotoView core features. #144 #143 #147 https://github.com/flutter/flutter/pull/32936
[Changes][0.4.0]
<a name="0.3.3"></a>
-
0.3.308 May 2019Release notes
Open source →Compatibility fix
- Dowgraded Flutter SDK version to 1.4.7
[Changes][0.3.3]
<a name="0.3.2"></a>
-
0.3.208 May 2019Release notes
Open source →Fixed
FlutterErrorcompatibility with breaking changing breaking for Flutter channel master users. #135 #136 #137onTapUpandonTapDownoverriding higher onTap handle #134 #138
[Changes][0.3.2]
<a name="0.3.1"></a>
-
0.3.2-mk108 May 2019 pre-releaseNothing published for this version
-
0.3.2-fix08 May 2019 pre-releaseNothing published for this version
-
0.3.123 Apr 2019Release notes
Open source →Added
- Custom child builder to
PhotoViewGalleryPageOptionsthat enables the usage of custom children in the gallery. #126 #131
[Changes][0.3.1]
<a name="0.3.0"></a>
- Custom child builder to
-
0.3.021 Apr 2019Release notes
Open source →Changed
- [BREAKING]
PhotoViewControllerValuedoes not containscaleStatevalue anymore, now you should control that value ona separate controller:PhotoViewScaleStateController. That is due to some concerns expressed #127. All details on controller docs #129 #127
Added
scaleStateControlleroption toPhotoViewandPhotoViewGalleryPageOptions#129
[Changes][0.3.0]
<a name="0.2.5"></a>
- [BREAKING]
-
0.2.520 Apr 2019Release notes
Open source →Added
- Two new callbacks
onTapUpandonTapDown#122 - A exclusive stream for
scaleStatein the controller #124
Fixed
- Gallery swipe glitch: do not lock when zooming in #124 #105
herotagis an Object, not a String anymore #122
Removed
- [BREAKING] Scale state
zoominghas been replaced byzoomingInandzoomingOut#124
[Changes][0.2.5]
<a name="0.2.4"></a>
- Two new callbacks
-
0.2.409 Apr 2019Release notes
Open source →Changed
- [BREAKING]
PhotoViewControllerno longer extendsValueNotifier, instead, it contains one. MethodaddListeneris no longer available due to a race condition that creates bugs. #106
[Changes][0.2.4]
<a name="0.2.3"></a>
- [BREAKING]
-
0.2.308 Apr 2019Release notes
Open source →Added
- New builder constructor for
PhotoViewGallery#119 #78 #113
[Changes][0.2.3]
<a name="0.2.2"></a>
- New builder constructor for
-
0.2.212 Mar 2019Release notes
Open source →Fixed:
- Make
initialScale,minScaleandmaxScaleoption work onPhotoViewGallery
[Changes][0.2.2]
<a name="0.2.1"></a>
- Make
-
0.2.120 Feb 2019Release notes
Open source →Added:
scrollPhisicsoption toPhotoViewGallery
<!-- Generated by changelog-from-release -->
-
0.2.013 Feb 2019Nothing published for this version
-
0.1.314 Jan 2019Nothing published for this version
-
0.1.229 Dec 2018Nothing published for this version
-
0.1.128 Dec 2018Nothing published for this version
-
0.1.027 Nov 2018Nothing published for this version
-
0.0.1118 Nov 2018Nothing published for this version
-
0.0.1008 Oct 2018Nothing published for this version
-
0.0.906 Oct 2018Nothing published for this version
-
0.0.814 Sep 2018Nothing published for this version
-
0.0.723 Aug 2018Nothing published for this version
-
0.0.618 Aug 2018Nothing published for this version
-
0.0.513 Aug 2018Nothing published for this version
-
0.0.404 Aug 2018Nothing published for this version
-
0.0.318 Jul 2018Nothing published for this version
-
0.0.201 May 2018Nothing published for this version
-
0.0.101 May 2018Nothing published for this version