I'm trying to fetch images through a http request an ends up getting an image with a high resolution which sometimes is not loading if the internet connection is poor.
Is there any package/plugin available which can reduce the quality of an image that is coming from an http request?
Image.network(
"${widget.jsonData["articles"][index]["urlToImage"]}",
fit: BoxFit.fill,
),
CodePudding user response:
I don't believe you can do anything on the client side to control this behavior.