disposable_cached_images 1.1.2 disposable_cached_images: ^1.1.2 copied to clipboard
A flutter package for displaying and releasing images from memory.
1.1.2 #
added DisposableImages.decodedImages
to decode images before displaying
added keepBytesInMemory
to choose whether to save images bytes in memory or not
update dependences
1.1.1 #
update dependences
Fix the issue when the image is flashing on navigation if keepAlive
is enabled
1.1.0 #
Web images caching with indexedDB
Added asset
named constructor to fix assets images issue when using local
Deprecated runAppWithDisposableCachedImage
in favor of a standard way to initialize the package
Fix 'Uint8List' not found
error in flutter version 3.3.1 and earlier
1.0.9 #
Handle image decoding error
Updates external dependencies
1.0.8 #
Fixed issue #1
Initialization error on first run
Decoding images iteratively to save space
previously was done with recursion
1.0.7 #
Upgrade minimum Flutter SDK to 3.0.0
Updates external dependencies
1.0.6 #
Decode images sequentially not parallel to improve performance when loading multiple images at the same time
Combine isolates into one
Handling corrupted keys file
1.0.5+1 #
Fix issue when images do not appear with resizeImage
enabled
1.0.5 #
performance improvement 🔥 #
Using dart:isolate for http calls and IO operations
Added resizeImage
option (disabled by default) to reduce raster thread usage when using high-resolution images
Update doc Update exampe
1.0.2 #
Resize the image, animated images will not be resized
404 Exception
Improved animated images handling
Remove cache check for local images
Breaking change #
rename targetWidth
, targetHeight
to maxCacheWidth
, maxCacheHeight
1.0.1 stable release #
Using RawImage
with ui.Image
directly instaded of MemoryImage
, this improves the overall performance and fixed the issue where sometimes evcit()
doesn't release the images from memory and some of the images are suddenly removed
Fixed an issue where animated images loss animations when resizing
Fixed an issue where dynamic height images wouldn't resize correctly when providing dynamic width
Breaking change #
Removed the need for scaffoldMessengerKey
Removed ImageType
in favor of Named constructors
onError
provide StackTrace
onImage
provide the image Widget
and size. MemoryImage
provider is removed
Update documentation Update example
0.1.0 #
0.0.9 #
Added web support
Caching images with local storage
Update dependencies
Fix cache file initialization issue
0.0.7 #
Added initial web support
web image caching and assets are still not supported
Added ImageType
to determine if an image is from the Internet or an asset
Update documentation
0.0.6 #
A new provider has been added to keep track of the MemoryImage
that has already been used and this will help reduce the time required to display the previously viewed image.
Using a map
instead of a list
of cached images to find keys faster
0.0.5 #
Add maxCacheWidth
and maxCacheHeight
to resize images
Update documentation and example
- breaking changes:
Integrate the asset image with the network image to use one Widget for both
Improved error handling
0.0.3 #
Support assets images.
Remove Dio in favor of http.