|
|
|
@ -6,6 +6,7 @@ import 'package:flutter/services.dart'; |
|
|
|
import 'package:flutter_easyloading/flutter_easyloading.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:get/get.dart'; |
|
|
|
import 'package:get_storage/get_storage.dart'; |
|
|
|
import 'package:path_provider/path_provider.dart'; |
|
|
|
import 'package:share_plus/share_plus.dart'; |
|
|
|
|
|
|
|
@ -71,7 +72,16 @@ class _ShareBottomSheetState extends State<ShareBottomSheet> { |
|
|
|
child: Column( |
|
|
|
children: [ |
|
|
|
_box([ |
|
|
|
_shareItem(Icons.link, '分享链接', isBorder: false), |
|
|
|
_shareItem(Icons.link, '分享链接', isBorder: false, onTap: () { |
|
|
|
final GetStorage storage = GetStorage(); |
|
|
|
String token = storage.read("logintoken") ?? ''; |
|
|
|
String userId = ''; |
|
|
|
Map? userInfo = storage.read("user_info"); |
|
|
|
if (userInfo != null) { |
|
|
|
userId = userInfo['user']['uid']; |
|
|
|
} |
|
|
|
String id = '${userId}_${_controller.meetingData.value.id}'; |
|
|
|
}), |
|
|
|
]), |
|
|
|
_box([ |
|
|
|
_shareItem(Icons.copy, '复制转写', onTap: () { |
|
|
|
|