skip to Main Content

Flutter – not all images can be displayed

Here is my code for get image: Image.network('http://10.0.2.2:8000/${widget.product.imageUrl}', fit: BoxFit.cover), and the error: ════════ Exception caught by image resource service ════════════════════════════ The following HttpException was thrown resolving an image codec: Connection closed while receiving data, uri = http://10.0.2.2:8000/uploads/products/0-1713659504.png When the…

VIEW QUESTION

Html – Getting error of invalid href value for my link preloader

I have this image on my HTML file , but getting below error <link rel=preload> has an invalid href value <link rel="preload" fetchpriority="high" href={{mainImageUrl1024()}} as="image" media="(min-width:1024px)" /> <link rel="preload" fetchpriority="high" href={{mainImageUrl768()}} as="image" media="(min-width:768px)" /> <link rel="preload" fetchpriority="high" href={{mainImageUrl()}} as="image" />…

VIEW QUESTION
Back To Top
Search