I'm trying to use share_plus package to allow users to share images on my web app flutter who comes in the shape of an url from my back server. When trying to share with smartphones, share_plus only provides sharing the url on gmail, outlook and paypal, but doesn't consider it as an image.
Any idea how to shape this url so the sharing options from android and ios considers it as an image?
here my code:
new IconButton(
onPressed: () async {
Share.share(Uri.parse(my_image_url).toString());
},
),
Thanks for your time
Aucun commentaire:
Enregistrer un commentaire