easy_image_viewer 1.5.0 copy "easy_image_viewer: ^1.5.0" to clipboard
easy_image_viewer: ^1.5.0 copied to clipboard

An easy image viewer with pinch & zoom, multi image, and built-in full-screen dialog support.

EasyImageViewer Changelog #

1.5.0 #

  • Add ability to infinitely swipe through a set of images by setting infinitelyScrollable to true. Thanks to @furkankurt for implementing this feature. See the README for an example.

1.4.1 #

  • Clearly declare Flutter 3.7.0 and Dart 2.19.0 as the minimum supported versions. Fixes a "const Column" error when used with Flutter versions lower than 3.10.0 (see GH-52).

1.4.0 #

  • Add a default error widget that is shown when an image fails to load. The default error widget shows a red Icons.broken_image and '🖼️💥🚫' (image, boom, no entry) as a message underneath. You can customize the error widget by subclassing EasyImageProvider and overriding errorWidgetBuilder. See the README for an example.

1.3.2 #

  • Revert change from WillPopScope to PopScope 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 an ImageProvider instead of a Widget. Constructing an EasyImageView 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 to true GH-24. Thank you to Tony of lookingpet for the initial implementation.
  • Fix an issue where the PageView was not correctly disabled when swipeDismissible was true 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 to true 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 and closeButtonColor arguments that default to black and white respectively. These values are passed through to showDialog so the background color and the close button color can be customized.

1.0.3 #

  • Add useSafeArea argument that defaults to false and pass it through to showDialog to let a zoomed-in image fill the entire screen.
  • Use SizedBox.expand to make EasyImageView 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.
234
likes
140
pub points
97%
popularity

Publisher

verified publisherthesmythgroup.com

An easy image viewer with pinch & zoom, multi image, and built-in full-screen dialog support.

Repository (GitHub)
View/report issues

Topics

#image #photo #slideshow #pager #zoom

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on easy_image_viewer