fluttercandies / extended_image

A powerful official extension library of image, which support placeholder(loading)/ failed state, cache network, zoom pan image, photo view, slide out page, editor(crop,rotate,flip), paint custom etc.
https://fluttercandies.github.io/extended_image/
MIT License
1.93k stars 503 forks source link

getCachedImageFile is not working with ExtendedNetworkImageProvider #679

Closed MoeezChohan1089 closed 5 months ago

MoeezChohan1089 commented 5 months ago

Version

8.2.0

Platforms

Android, iOS

Device Model

iPhone 14 Pro Max. Samsung S22

flutter info

getCachedImageFile is not working with ExtendedNetworkImageProvider , but whenever I use ExtendedImage.network it does provide  cached image file. How can I get cached File using ImageProvider

How to reproduce?

This is the image provider

final provider = ExtendedNetworkImageProvider( url, cache: true, );

Logs

No response

Example code (optional)

No response

Contact

No response

zmtzawqlp commented 5 months ago

https://github.com/fluttercandies/extended_image_library/blob/33422e7f5fbc755c6ec63cf0741cabd0f71cd2cf/lib/src/_extended_network_image_utils_io.dart#L47