Php 如何在whatsapp或其他应用程序上与flutter中的文本共享图像?
我使用这段代码从MySQL数据库获取图像,并在容器上显示它们。请你指导我如何用文字分享这张图片好吗?或者我需要使用什么插件Php 如何在whatsapp或其他应用程序上与flutter中的文本共享图像?,php,android,ios,mysql,flutter,Php,Android,Ios,Mysql,Flutter,我使用这段代码从MySQL数据库获取图像,并在容器上显示它们。请你指导我如何用文字分享这张图片好吗?或者我需要使用什么插件 Image image; showImage(String image){ return Image.memory(base64.decode(image), fit: BoxFit.fill,); } //show in Container Container(
Image image;
showImage(String image){
return Image.memory(base64.decode(image), fit: BoxFit.fill,);
}
//show in Container
Container(
padding: EdgeInsets.all(10),
width: MediaQuery.of(context).size.width * 0.8,
height: MediaQuery.of(context).size.height * 0.3,
color: Colors.white,
child: showImage(widget.product_detail_pictue),
),
child: image = showImage(product.image)),
it also show image but failed to share.
你可以用这个包裹`
它允许您通过平台的共享对话框共享颤振应用程序中的内容