diff --git a/example/pubspec.lock b/example/pubspec.lock index a3644af2..62fd165c 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -1,20 +1,6 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: - archive: - dependency: transitive - description: - name: archive - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.10" - args: - dependency: transitive - description: - name: args - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.2" async: dependency: transitive description: @@ -50,13 +36,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.1" - crypto: - dependency: transitive - description: - name: crypto - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.3" cupertino_icons: dependency: "direct main" description: @@ -81,13 +60,6 @@ packages: description: flutter source: sdk version: "0.0.0" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.4" matcher: dependency: transitive description: @@ -143,7 +115,7 @@ packages: path: ".." relative: true source: path - version: "0.7.0" + version: "0.8.1" quiver: dependency: transitive description: diff --git a/lib/src/core/photo_view_core.dart b/lib/src/core/photo_view_core.dart index 525fd21f..b0282952 100644 --- a/lib/src/core/photo_view_core.dart +++ b/lib/src/core/photo_view_core.dart @@ -259,6 +259,7 @@ class PhotoViewCoreState extends State @override Widget build(BuildContext context) { + // Check if we need a recalc on the scale if (widget.scaleBoundaries != cachedScaleBoundaries) { markNeedsScaleRecalc = true; cachedScaleBoundaries = widget.scaleBoundaries; diff --git a/pubspec.lock b/pubspec.lock index da5aa70a..117326a1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -8,13 +8,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.36.4" - archive: - dependency: transitive - description: - name: archive - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.10" args: dependency: transitive description: @@ -123,13 +116,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.1.3" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.4" io: dependency: transitive description: @@ -221,13 +207,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.0+1" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.0" pool: dependency: transitive description: @@ -387,13 +366,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.15" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.dartlang.org" - source: hosted - version: "3.5.0" yaml: dependency: transitive description: @@ -402,5 +374,5 @@ packages: source: hosted version: "2.1.16" sdks: - dart: ">=2.4.0 <3.0.0" + dart: ">=2.2.2 <3.0.0" flutter: ">=1.5.9-pre.94 <2.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 85123b9f..4bf2810e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,7 @@ name: photo_view description: Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interacive images and other stuff such as SVG. -version: 0.8.0 +version: 0.8.1 +author: Renan C. Araújo homepage: https://github.com/renancaraujo/photo_view environment: