but i have this issue
u pass "null" to CachedNetworkImageProvider
😅why all images working?
This is because the app tries to get renderUrl asynchronously. Before the render Url is fetched back, it is null.NetworkImage(renderUrl ?? '') then tries to use empty string as the url and result in the exception. I am not sure if this is the best solution, but this seems to work: There are many ways to solve this, here is some of them 1 Add https:// before your uri 2 For Image : I decided to check if the image url was empty before putting it in the widget: CircleAvatar( backgroundColor: Colors.grey, backgroundImage: _urlImage.isNotEmpty ? NetworkImage(_urlImagem) : null, ),
This is not a question for me, it should work, but it does not work as it should 🤪
Everything was working fine in the beginning, when it was time to publish, this error 😂
Обсуждают сегодня