Skip to content

Commit

Permalink
Update to Dart >=2.12.0 <4.0.0, add topics to pubspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jfahrenkrug committed Jun 12, 2023
1 parent 797b2a6 commit 5a8c539
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
channel: 'master'
channel: 'stable'
- name: Install dependencies
run: flutter pub get
- name: Analyze project source
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# EasyImageViewer Changelog

## 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](https://github.com/thesmythgroup/easy_image_viewer/issues/24). Thank you to [Tony](https://github.com/nne998) of [lookingpet](https://github.com/lookingpet/easy_image_viewer) for the initial implementation.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/easy_image_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EasyImageView extends StatefulWidget {
}) : super(key: key);

@override
_EasyImageViewState createState() => _EasyImageViewState();
State<EasyImageView> createState() => _EasyImageViewState();
}

class _EasyImageViewState extends State<EasyImageView>
Expand Down
2 changes: 1 addition & 1 deletion lib/src/easy_image_view_pager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class EasyImageViewPager extends StatefulWidget {
: super(key: key);

@override
_EasyImageViewPagerState createState() => _EasyImageViewPagerState();
State<EasyImageViewPager> createState() => _EasyImageViewPagerState();
}

class _EasyImageViewPagerState extends State<EasyImageViewPager> {
Expand Down
13 changes: 10 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
name: easy_image_viewer
description: An easy image viewer with pinch & zoom, multi image, and built-in full-screen dialog support.
version: 1.2.0
version: 1.2.1
homepage: https://github.com/thesmythgroup/easy_image_viewer

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=2.12.0 <4.0.0"
flutter: ">=1.17.0"

topics:
- image
- photo
- slideshow
- pager
- zoom

dependencies:
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.0
flutter_lints: ^2.0.1

0 comments on commit 5a8c539

Please sign in to comment.