屏蔽复制app连接

This commit is contained in:
czz
2025-08-04 16:21:36 +08:00
parent 13ef007f88
commit 58ff281855

View File

@@ -4,6 +4,7 @@ import 'package:flutter/services.dart';
import 'package:flutterflow_ui/flutterflow_ui.dart';
import 'package:vbvs_app/common/color/appConstants.dart';
import 'package:vbvs_app/common/color/app_uri_status.dart';
import 'package:vbvs_app/common/util/CommonVariables.dart';
import 'package:vbvs_app/common/util/FitTool.dart';
import 'package:vbvs_app/common/util/MyUtils.dart';
import 'package:vbvs_app/component/NullDataComponentWidget.dart';
@@ -200,28 +201,31 @@ class ShareDeviceWidget extends GetView<MHDeviceShareController> {
)),
),
),
ClickableContainer(
backgroundColor: Colors.transparent,
highlightColor: Colors.transparent,
padding: EdgeInsets.only(top: 30.rpx),
onTap: () {},
child: Container(
decoration: const BoxDecoration(
border: Border(
bottom: BorderSide(
color: Color(0xFF85F5FF),
width: 0), // 下边线
),
),
child: Text(
'点击复制APP下载链接'.tr,
style: TextStyle(
color: Color(0xFF85F5FF), // 蓝色文字
// ClickableContainer(
// backgroundColor: Colors.transparent,
// highlightColor: Colors.transparent,
// padding: EdgeInsets.only(top: 30.rpx),
// onTap: () {
// Clipboard.setData(ClipboardData(
// text: CommonVariables.shareText));
// },
// child: Container(
// decoration: const BoxDecoration(
// border: Border(
// bottom: BorderSide(
// color: Color(0xFF85F5FF),
// width: 0), // 下边线
// ),
// ),
// child: Text(
// '点击复制APP下载链接'.tr,
// style: TextStyle(
// color: Color(0xFF85F5FF), // 蓝色文字
fontSize: 22.rpx,
),
),
)),
// fontSize: 22.rpx,
// ),
// ),
// )),
GestureDetector(
onTap: () {
// 当点击时,将 type 设置为 0允许控制