upgrade deps

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-30 12:38:54 +08:00
parent 60f800b671
commit 2e7c80422c
3 changed files with 19 additions and 17 deletions

View File

@@ -28,7 +28,9 @@ abstract final class ImageUtils {
static String get time => static String get time =>
DateFormat('yyyy-MM-dd_HH-mm-ss').format(DateTime.now()); DateFormat('yyyy-MM-dd_HH-mm-ss').format(DateTime.now());
static bool silentDownImg = Pref.silentDownImg; static bool silentDownImg = Pref.silentDownImg;
static const _androidRelativePath = 'Pictures/${Constants.appName}'; static final _albumPath = Platform.isAndroid
? 'Pictures/${Constants.appName}'
: Constants.appName;
// 图片分享 // 图片分享
static Future<void> onShareImg(String url) async { static Future<void> onShareImg(String url) async {
@@ -210,7 +212,7 @@ abstract final class ImageUtils {
SaveFileData( SaveFileData(
filePath: i.filePath, filePath: i.filePath,
fileName: i.name, fileName: i.name,
androidRelativePath: _androidRelativePath, albumPath: _albumPath,
), ),
); );
} else { } else {
@@ -302,7 +304,7 @@ abstract final class ImageUtils {
res = await SaverGallery.saveImage( res = await SaverGallery.saveImage(
bytes, bytes,
fileName: fileName, fileName: fileName,
androidRelativePath: _androidRelativePath, albumPath: _albumPath,
skipIfExists: false, skipIfExists: false,
); );
SmartDialog.dismiss(); SmartDialog.dismiss();
@@ -346,7 +348,7 @@ abstract final class ImageUtils {
res = await SaverGallery.saveFile( res = await SaverGallery.saveFile(
filePath: filePath, filePath: filePath,
fileName: fileName, fileName: fileName,
androidRelativePath: _androidRelativePath, albumPath: _albumPath,
skipIfExists: false, skipIfExists: false,
); );
if (del) file.tryDel(); if (del) file.tryDel();

View File

@@ -256,7 +256,7 @@ packages:
description: description:
path: "packages/chat_bottom_container" path: "packages/chat_bottom_container"
ref: dev ref: dev
resolved-ref: "88d5d2c3c76855258ead306d8921ef706033beef" resolved-ref: "227fe87aeedcd53573b17d6a6e5c08834fbc4e45"
url: "https://github.com/bggRGjQaUbCoE/flutter_chat_packages.git" url: "https://github.com/bggRGjQaUbCoE/flutter_chat_packages.git"
source: git source: git
version: "0.5.0" version: "0.5.0"
@@ -523,7 +523,7 @@ packages:
description: description:
path: "." path: "."
ref: dev ref: dev
resolved-ref: f6c2ab82ce7539dc26e6c16e1455b435fd2ded09 resolved-ref: "1b1197493d734c45e178c15fe665c3dcab284cb8"
url: "https://github.com/bggRGjQaUbCoE/flutter_file_picker.git" url: "https://github.com/bggRGjQaUbCoE/flutter_file_picker.git"
source: git source: git
version: "12.0.0-beta.5" version: "12.0.0-beta.5"
@@ -634,7 +634,7 @@ packages:
description: description:
path: flutter_inappwebview_android path: flutter_inappwebview_android
ref: "v6.1.5" ref: "v6.1.5"
resolved-ref: e0e82ff8492bbc77aecc37e3b4d02c0f3e3de40f resolved-ref: "553d323316cc1ef5d1b73077fe42be864e3e096d"
url: "https://github.com/bggRGjQaUbCoE/flutter_inappwebview.git" url: "https://github.com/bggRGjQaUbCoE/flutter_inappwebview.git"
source: git source: git
version: "1.1.3" version: "1.1.3"
@@ -711,10 +711,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: flutter_native_splash name: flutter_native_splash
sha256: "4fb9f4113350d3a80841ce05ebf1976a36de622af7d19aca0ca9a9911c7ff002" sha256: "9db4b80b044e9af17cc4b1272137fc7ace0054d879ef8210a76adc34aaf4cdff"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.4.7" version: "2.4.8"
flutter_plugin_android_lifecycle: flutter_plugin_android_lifecycle:
dependency: transitive dependency: transitive
description: description:
@@ -1230,7 +1230,7 @@ packages:
description: description:
path: "." path: "."
ref: master ref: master
resolved-ref: "2c74f4d534dfd9b8f66382f82b3540f32be9abd9" resolved-ref: "7be186c79adca7d3ff5abc34bc75d171c68c2694"
url: "https://github.com/bggRGjQaUbCoE/flutter_native_device_orientation.git" url: "https://github.com/bggRGjQaUbCoE/flutter_native_device_orientation.git"
source: git source: git
version: "2.0.5" version: "2.0.5"
@@ -1358,10 +1358,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: permission_handler_apple name: permission_handler_apple
sha256: f000131e755c54cf4d84a5d8bd6e4149e262cc31c5a8b1d698de1ac85fa41023 sha256: "447c18bc3c5fdea5c3039f042b2b365fd51e3634f5f6e269ed22c1f00071addc"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "9.4.7" version: "9.4.8"
permission_handler_platform_interface: permission_handler_platform_interface:
dependency: "direct main" dependency: "direct main"
description: description:
@@ -1486,10 +1486,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: saver_gallery name: saver_gallery
sha256: "5afc7073672f6fd073ddd15118f53f59a2bceee433e586420a3548888cd40820" sha256: dcecd87113ffcb0eb467bb0ef5ed8f6dd894e26ff3dfd5822624281e7d2cb894
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.0.2" version: "5.1.0"
screen_brightness_android: screen_brightness_android:
dependency: transitive dependency: transitive
description: description:
@@ -1892,10 +1892,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vector_graphics_compiler name: vector_graphics_compiler
sha256: b9b3f391857781aa96acacef96066f2f49b4cd03cf9fce3ca4d8da2ef5ea129e sha256: "7ee12e6dffe0fc8e755179d6d91b3b34f5924223fc104d85572ef9180d73d172"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.2.3" version: "1.2.5"
vector_math: vector_math:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@@ -54,8 +54,8 @@ dependencies:
chat_bottom_container: chat_bottom_container:
git: git:
url: https://github.com/bggRGjQaUbCoE/flutter_chat_packages.git url: https://github.com/bggRGjQaUbCoE/flutter_chat_packages.git
ref: dev
path: packages/chat_bottom_container path: packages/chat_bottom_container
ref: dev
collection: ^1.19.1 collection: ^1.19.1
connectivity_plus: ^7.1.1 connectivity_plus: ^7.1.1
cookie_jar: ^4.0.8 cookie_jar: ^4.0.8