25-8-9-1
This commit is contained in:
@@ -2,8 +2,8 @@ import 'package:Intaleq/views/widgets/my_scafold.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:share/share.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:share_plus/share_plus.dart';
|
||||
|
||||
import '../../../controller/functions/audio_record1.dart';
|
||||
|
||||
@@ -194,7 +194,8 @@ class TripsRecordedPage extends StatelessWidget {
|
||||
padding: EdgeInsets.zero,
|
||||
child: const Icon(CupertinoIcons.share),
|
||||
onPressed: () {
|
||||
Share.shareFiles([audio.selectedFilePath!]);
|
||||
Share.shareXFiles(
|
||||
[XFile(audio.selectedFilePath!)]);
|
||||
},
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user