URI 文件中未指定主机
No host specified in URI file
谁能帮我解决这个错误
"========图片资源服务捕获异常=================================== =============
抛出以下 ArgumentError 解析图像编解码器:
无效参数:No host specified in URI file:///
抛出异常时,这是堆栈:
#0 _HttpClient._openUrl (飞镖:_http/http_impl.dart:2658:9)
#1 _HttpClient.getUrl (飞镖:_http/http_impl.dart:2569:48)
#2 NetworkImage._loadAsync(包:flutter/src/painting/_network_image_io.dart:89:59)
#3 NetworkImage.load(包:flutter/src/painting/_network_image_io.dart:50:14)
#4 ImageProvider.resolveStreamForKey。 (包:flutter/src/painting/image_provider.dart:504:13)>
尝试在 url 之前添加 'http://'
如果您不这样做的话。
谁能帮我解决这个错误 "========图片资源服务捕获异常=================================== ============= 抛出以下 ArgumentError 解析图像编解码器: 无效参数:No host specified in URI file:///
抛出异常时,这是堆栈: #0 _HttpClient._openUrl (飞镖:_http/http_impl.dart:2658:9) #1 _HttpClient.getUrl (飞镖:_http/http_impl.dart:2569:48) #2 NetworkImage._loadAsync(包:flutter/src/painting/_network_image_io.dart:89:59) #3 NetworkImage.load(包:flutter/src/painting/_network_image_io.dart:50:14) #4 ImageProvider.resolveStreamForKey。 (包:flutter/src/painting/image_provider.dart:504:13)>
尝试在 url 之前添加 'http://'
如果您不这样做的话。