I am using share_plus plugin to share an image and a text to whatsapp. But on the bottom sheet that pops up to select which app to share, The preview of the image is showing but the text is not showing instead "Plain text and 1 Document" is shown.
Please refer the screenshot for better understanding.
Is there any way to change that and show custom text there?
This is how I am using the plugin :
Share.shareXFiles( [XFile(file!.path)], subject: 'I just got screened!', text: 'I just got screened!', ).then((value) { if (value.status == ShareResultStatus.success) { pop(context); } });
Checklist before submitting a question
[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I am using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
What is your question?
I am using share_plus plugin to share an image and a text to whatsapp. But on the bottom sheet that pops up to select which app to share, The preview of the image is showing but the text is not showing instead "Plain text and 1 Document" is shown. Please refer the screenshot for better understanding.
Is there any way to change that and show custom text there?
This is how I am using the plugin :
Share.shareXFiles( [XFile(file!.path)], subject: 'I just got screened!', text: 'I just got screened!', ).then((value) { if (value.status == ShareResultStatus.success) { pop(context); } });
Checklist before submitting a question
flutter pub upgrade
flutter clean