Skip to content

Commit

Permalink
pub version
Browse files Browse the repository at this point in the history
  • Loading branch information
Renan Araujo committed Nov 18, 2018
1 parent 7b0cb21 commit 441e1a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/photo_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ class PhotoViewInline extends StatefulWidget {
this.gaplessPlayback = false,
this.heroTag,
this.scaleStateChangedCallback,

}) : super(key: key);

final ImageProvider imageProvider;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/photo_view_computed_scale.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class PhotoViewComputedScale {

final String _value;
final double multiplier;

@override
String toString() => 'Enum.$_value';

Expand Down
2 changes: 1 addition & 1 deletion lib/src/photo_view_scale_boundaries.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ScaleBoundaries {
double computeInitialScale() {
if (_initialScale == PhotoViewComputedScale.contained) {
return scaleForContained(size: size, imageInfo: imageInfo) *
(_initialScale as PhotoViewComputedScale) // ignore: avoid_as
(_initialScale as PhotoViewComputedScale) // ignore: avoid_as
.multiplier;
}
if (_initialScale == PhotoViewComputedScale.covered) {
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: photo_view
description: A simple zoomable image widget for Flutter.
version: 0.0.10
version: 0.0.11
author: Renan C. Araújo <[email protected]>
homepage: https://github.com/renancaraujo/photo_view

Expand Down

0 comments on commit 441e1a3

Please sign in to comment.