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
Image get from cache only #47
base: master
Are you sure you want to change the base?
Conversation
…fails when decoding). Before the placeholder would stand indefinitely.
…when it fails getting from the cache and networking is not allowed.
@renefloor I think that this is a neat feature. My use case would be:
That way the user can enjoy a The most simple solution for me would be to switch urls based on the connectivity but that would mean that while away from home all images would be downloaded again in Another option would be a function (for example |
Was about to post this feature, yet I've found this. It would be very useful since I'm using Firebase storage, as my backend, and I don't want to download all images every single time, to stay in my transfer limits. |
New feature: Adds the possibility to show the image only if it is cached - skips the network download.
Bug fix: When an image is not valid (the codec fails), the errorWidget was not replacing the placeholder.
Also Fixes a deprecation warning from dart2.