i dont want to store image in cache.. iam using CachedNetworkImage for image loading.. I want know is there any option to remove or do not store image in cache like picasso..
my code:
var annotatedImg = CachedNetworkImage(
fit: BoxFit.fill,
imageUrl: Constants.IMAGE_BASE_URL + widget._fileId + Constants.CONTOUR_IMG_SUFFIX,
placeholder: (context, url) => progressBar,
errorWidget: (context, url, error) => new Icon(Icons.error),
);
i have tried
annotatedImg.cacheManager.emptyCache();
but its shows cant call emptyCache is null..