easy_image_viewer 1.3.1
easy_image_viewer: ^1.3.1 copied to clipboard
An easy image viewer with pinch & zoom, multi image, and built-in full-screen dialog support.
EasyImageViewer Changelog #
1.3.1 #
- Revert breaking constructor change introduced in 1.3.0. This changes the default
EasyImageViewconstructor back to accepting anImageProviderinstead of aWidget. Constructing anEasyImageViewwith 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
Imageby 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
doubleTapZoomabletotrueGH-24. Thank you to Tony of lookingpet for the initial implementation. - Fix an issue where the PageView was not correctly disabled when
swipeDismissiblewastrueand 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
swipeDismissibletotrueGH-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
backgroundColorandcloseButtonColorarguments that default toblackandwhiterespectively. These values are passed through toshowDialogso the background color and the close button color can be customized.
1.0.3 #
- Add
useSafeAreaargument that defaults tofalseand pass it through toshowDialogto let a zoomed-in image fill the entire screen. - Use
SizedBox.expandto makeEasyImageViewfill its parent instead of hard-coding its size to the full screen. - Add example of how to use
EasyImageViewPagerwithout 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.