Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在IM类型的App中,我想将不同群的图片放在不同的文件夹中,extended_image中能实现将不同的图片缓存在不同的文件夹中吗? #650

Open
yhcflyy opened this issue Jan 16, 2024 · 2 comments

Comments

@yhcflyy
Copy link

yhcflyy commented Jan 16, 2024

Platforms

Android, iOS, macOS, Windows

Description

问题如上面的标题

My code

No response

Try do it

No response

@zmtzawqlp
Copy link
Member

zmtzawqlp commented Jan 16, 2024

cacheKey

https://github.com/fluttercandies/extended_image_library/blob/d2e0a2299601248c55f58486dd90b4384f35f671/lib/src/network/network_image_io.dart#L190

如果要是多层文件夹,你主要 cacheKey 在不同平台分隔符不一样

aFloder\xxxx.png

bFloder\xxxx.png

@zmtzawqlp
Copy link
Member

更自由的方式就是自定义 imagprovider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants