Cliff Anderssen
Cliff Anderssen

Reputation: 63

Flutter share link to other apps with a separate description

I am using the flutter share_plus library to share dynamic links for a refer a friend feature. In the pop-up dialogue box, I want to be able to add a description that is separate from the link being shared, to explain what is happening to the user. Is there a way to do this with share_plus or is there another library I can use that has this functionality?

enter image description here

In the photo, where it currently says Share, I was wondering if there is any way to edit that.

Edit: I am aware that this exists for sharing files, but I am interested in sharing links.

Upvotes: 2

Views: 724

Answers (1)

princesanjivy
princesanjivy

Reputation: 354

You can use the share: ^2.0.4 package and use the text property to show the text while sharing

Share.shareFiles("image.jpg", text: 'Hello your text goes here');

Upvotes: 1

Related Questions