opt: share

This commit is contained in:
bggRGjQaUbCoE
2024-10-06 12:41:37 +08:00
parent 58ebce047d
commit 65fe9751ef
3 changed files with 12 additions and 6 deletions

View File

@@ -343,7 +343,7 @@ class BangumiIntroController extends CommonController {
), ),
onTap: () { onTap: () {
Get.back(); Get.back();
Share.share(videoUrl).whenComplete(() {}); Share.share(videoUrl);
}, },
), ),
], ],

View File

@@ -1576,10 +1576,11 @@ packages:
share_plus: share_plus:
dependency: "direct main" dependency: "direct main"
description: description:
name: share_plus path: "packages/share_plus/share_plus"
sha256: "468c43f285207c84bcabf5737f33b914ceb8eb38398b91e5e3ad1698d1b72a52" ref: main
url: "https://pub.dev" resolved-ref: b798deabfb1e7133d11eee8ac82a71fe19b24211
source: hosted url: "https://github.com/bggRGjQaUbCoE/plus_plugins.git"
source: git
version: "10.0.2" version: "10.0.2"
share_plus_platform_interface: share_plus_platform_interface:
dependency: transitive dependency: transitive

View File

@@ -65,7 +65,12 @@ dependencies:
# 权限 # 权限
permission_handler: ^11.0.1 permission_handler: ^11.0.1
# 分享 # 分享
share_plus: ^10.0.2 # share_plus: ^10.0.2
share_plus:
git:
url: https://github.com/bggRGjQaUbCoE/plus_plugins.git
ref: main
path: packages/share_plus/share_plus
# cookie 管理 # cookie 管理
webview_cookie_manager: ^2.0.6 webview_cookie_manager: ^2.0.6
# 浏览器 # 浏览器