disposable_cached_images 1.2.1 copy "disposable_cached_images: ^1.2.1" to clipboard
disposable_cached_images: ^1.2.1 copied to clipboard

A flutter package for displaying and releasing images from memory.

1.2.1 #

Fix type casting exception #8

1.2.0 #

improve web performance with Web-Worker

added progressBuilder #6

added maximumDownload option to specify the maximum number of images to be downloaded simultaneously

added maximumDecode option to specify the maximum number of images to be decoded simultaneously

removed idb_shim dependency, the package now use IndexedDB in Web-Worker

removed http dependency in favor of dart:_http and Fetch API

update dependences, doc and example

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 #

Faster data writing using IOSink and FileMode

Saving image height and width to avoid UI jumping when loading dynamic sized images

option to enable or disable web local storage cache

Fix local storage initialization issue on web

Update documentation

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.

37
likes
150
pub points
86%
popularity

Publisher

unverified uploader

A flutter package for displaying and releasing images from memory.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_riverpod, isolate_generator_annotation, js, path_provider

More

Packages that depend on disposable_cached_images