Skip to content

Commit

Permalink
improve pub score
Browse files Browse the repository at this point in the history
  • Loading branch information
elrizwiraswara committed Jul 25, 2024
1 parent 86cc658 commit 40c20d4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@

## 1.0.7

- Updated README.md
- Updated README.md

## 1.0.8

- Improved pub score
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add the following to your `pubspec.yaml` file:

```yaml
dependencies:
app_image: ^1.0.7
app_image: ^1.0.8
```
Then run `flutter pub get` to install the package.
Expand Down
3 changes: 2 additions & 1 deletion lib/src/app_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ class _AppImageState extends State<AppImage> {
Navigator.of(context).push(
MaterialPageRoute(
builder: (_) => AppImageFullScreenViewer(
initialIndex: (widget.allImages?.isNotEmpty ?? false) && (widget.allImages?.contains(widget.image) ?? false)
initialIndex: (widget.allImages?.isNotEmpty ?? false) &&
(widget.allImages?.contains(widget.image) ?? false)
? widget.allImages!.indexOf(widget.image)
: 0,
images: widget.allImages ?? [widget.image],
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: app_image
description: A complete package for developers looking to implement advanced image display features in their Flutter applications with minimal effort.
version: 1.0.7
version: 1.0.8
repository: https://github.com/elrizwiraswara/app_image

environment:
Expand Down

0 comments on commit 40c20d4

Please # to comment.