[英]I am getting this error while am trying to bring data from cloud firestore to my flutter app
ERROR - >错误->
Invalid argument(s): No host specified in URI file:///data/user/0/com.example.hangout/cache/scaled_8213e05d-3981-48c7-ac51-d57a3ab4b8f04882445254643686983.jpg无效参数:URI 文件中未指定主机:///data/user/0/com.example.hangout/cache/scaled_8213e05d-3981-48c7-ac51-d57a3ab4b8f04882445254643686983.jpg
here is the code for the dashboard screen这是仪表板屏幕的代码
The problem is that you are storing the images without the full URL and trying to display it without concatenating it with the base url.问题是您在没有完整 URL 的情况下存储图像,并试图在不将其与基本 url 连接的情况下显示它。
You have to options:你必须选择:
NetworkImage
.将图像路径与NetworkImage
中的基数 URL 连接起来。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.