Skip to content

Commit

Permalink
Release 1.5.0 (#61)
Browse files Browse the repository at this point in the history
* Bump version to 1.5.0 and update CHANGELOG

* Fix formatting
  • Loading branch information
jfahrenkrug authored Apr 25, 2024
1 parent 6fd1196 commit 2a10a31
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# EasyImageViewer Changelog

## 1.5.0
- Add ability to infinitely swipe through a set of images by setting `infinitelyScrollable` to `true`. Thanks to [@furkankurt](https://github.com/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](https://github.com/thesmythgroup/easy_image_viewer/issues/52)).

Expand Down
16 changes: 8 additions & 8 deletions lib/src/easy_image_view_pager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ class EasyImageViewPager extends StatefulWidget {
/// Create new instance, using the [easyImageProvider] to populate the [PageView],
/// and the [pageController] to control the initial image index to display.
/// The optional [doubleTapZoomable] boolean defaults to false and allows double tap to zoom.
const EasyImageViewPager(
{Key? key,
required this.easyImageProvider,
required this.pageController,
this.doubleTapZoomable = false,
this.onScaleChanged,
this.infinitelyScrollable = false,})
: super(key: key);
const EasyImageViewPager({
Key? key,
required this.easyImageProvider,
required this.pageController,
this.doubleTapZoomable = false,
this.onScaleChanged,
this.infinitelyScrollable = false,
}) : super(key: key);

@override
State<EasyImageViewPager> createState() => _EasyImageViewPagerState();
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: easy_image_viewer
description: An easy image viewer with pinch & zoom, multi image, and built-in full-screen dialog support.
version: 1.4.1
version: 1.5.0
homepage: https://github.com/thesmythgroup/easy_image_viewer

environment:
Expand Down

0 comments on commit 2a10a31

Please sign in to comment.