fix: update panorama package to support sensor tweaks

This commit is contained in:
Prateek Sunal
2024-08-09 02:32:14 +05:30
parent b6602d052f
commit fb2c17c510
3 changed files with 19 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ import "dart:io";
import "package:flutter/material.dart";
import "package:flutter/services.dart";
import "package:motion_photos/src/xmp_extractor.dart";
import "package:panorama_viewer/panorama_viewer.dart";
import "package:panorama/panorama.dart";
import "package:photos/generated/l10n.dart";
class PanoramaViewerScreen extends StatefulWidget {
@@ -123,7 +123,7 @@ class _PanoramaViewerScreenState extends State<PanoramaViewerScreen> {
return Scaffold(
body: Stack(
children: [
PanoramaViewer(
Panorama(
onTap: (_, __, ___) {
setState(() {
if (isVisible) {

View File

@@ -387,14 +387,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.7.10"
dchs_motion_sensors:
dependency: transitive
description:
name: dchs_motion_sensors
sha256: "0f1cac6cd876fad2afff47405a963913f39a67221cbfc4f00aa04da2845bab0a"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
defer_pointer:
dependency: "direct main"
description:
@@ -1581,6 +1573,15 @@ packages:
url: "https://github.com/ente-io/motion_photo.git"
source: git
version: "0.0.6"
motion_sensors:
dependency: transitive
description:
path: "."
ref: aves
resolved-ref: "4b11d59f4bda152627f701070272f657f8358e67"
url: "https://github.com/deckerst/aves_panorama_motion_sensors.git"
source: git
version: "0.1.0"
motionphoto:
dependency: "direct main"
description:
@@ -1687,15 +1688,15 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.0"
panorama_viewer:
panorama:
dependency: "direct main"
description:
path: "."
ref: HEAD
resolved-ref: "26ad55b2aa29dde14d640d6f1e17ce132a87910a"
url: "https://github.com/prateekmedia/panorama_viewer.git"
ref: blur
resolved-ref: "362f0295ba4ed42486577c9f9724c462107080f8"
url: "https://github.com/ente-io/panorama_blur.git"
source: git
version: "1.0.5"
version: "0.4.1"
password_strength:
dependency: "direct main"
description:

View File

@@ -131,9 +131,10 @@ dependencies:
open_mail_app: ^0.4.5
package_info_plus: ^4.1.0
page_transition: ^2.0.2
panorama_viewer:
panorama:
git:
url: https://github.com/ente-io/panorama_viewer.git
url: https://github.com/ente-io/panorama_blur.git
ref: blur
password_strength: ^0.2.0
path: #dart
path_provider: ^2.1.1