easy_image_viewer 1.3.2 easy_image_viewer: ^1.3.2 copied to clipboard
An easy image viewer with pinch & zoom, multi image, and built-in full-screen dialog support.
EasyImageViewer Changelog #
1.3.2 #
- Revert change from
WillPopScope
toPopScope
introduced in 1.3.0. It would require bumping up the minimum Flutter version. We will re-introduce that change when in the next major version.
1.3.1 #
- Revert breaking constructor change introduced in 1.3.0. This changes the default
EasyImageView
constructor back to accepting anImageProvider
instead of aWidget
. Constructing anEasyImageView
with a widget can be done by using a new named constructor:EasyImageView.imageWidget
.
1.3.0 #
- Update Flutter to
3.16.3
- Add loading progress indicator out of the box with options to fully customize both the widget used to display progress as well as the widget used to display an image (Flutter's
Image
by default).
1.2.1 #
- Update Dart to
>=2.12.0 <4.0.0
.
1.2.0 #
- Add option to "double tap to zoom" by setting
doubleTapZoomable
totrue
GH-24. Thank you to Tony of lookingpet for the initial implementation. - Fix an issue where the PageView was not correctly disabled when
swipeDismissible
wastrue
and the image was zoomed in GH-27.
1.1.0 #
- Enable dragging the PageView with a mouse GH-11.
- Add option to "swipe down to dismiss" by setting
swipeDismissible
totrue
GH-14. - Correctly clean up (status bar visibility etc) when using the Android back button to dismiss GH-15.
- Don't use rounded corners on the full-screen dialog when using Material 3 GH-16.
1.0.4 #
- Add
backgroundColor
andcloseButtonColor
arguments that default toblack
andwhite
respectively. These values are passed through toshowDialog
so the background color and the close button color can be customized.
1.0.3 #
- Add
useSafeArea
argument that defaults tofalse
and pass it through toshowDialog
to let a zoomed-in image fill the entire screen. - Use
SizedBox.expand
to makeEasyImageView
fill its parent instead of hard-coding its size to the full screen. - Add example of how to use
EasyImageViewPager
without a dialog, embedding it in a widget and using buttons to go forward and backward.
1.0.2 #
- Provide more comprehensive example.
- Structure lib directory using a src folder.
1.0.1 #
- Update demo image path in README.
1.0.0 #
- Initial version.