Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/183.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何在whatsapp或其他应用程序上与flutter中的文本共享图像?_Php_Android_Ios_Mysql_Flutter - Fatal编程技术网

Php 如何在whatsapp或其他应用程序上与flutter中的文本共享图像?

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(

我使用这段代码从MySQL数据库获取图像,并在容器上显示它们。请你指导我如何用文字分享这张图片好吗?或者我需要使用什么插件

        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.
你可以用这个包裹`

它允许您通过平台的共享对话框共享颤振应用程序中的内容