asset_cache
Load and cache binary asset of any type given a decoder. Built in support for byte data, images, json and text.
2.2.0
erf/asset_cache
What this package is like to depend on
Last release 1 years ago
25 Jun 2025
Release timing varies
gaps range from 1 weeks to 1.6 years
Some releases are documented
notes for 9 of 18 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
18 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · May 2020 to Jun 2025Releases
latest 18-
2.2.025 Jun 2025Release notes
Open source →- updated dependencies and Dart SDK constraints
- add cache management methods:
clear(),remove(),contains(),size - add
preload()method for concurrent asset loading - add custom exceptions:
AssetCacheException,AssetNotFoundException,DecodingException,PreLoadingAssetsNotFoundException
-
2.1.006 Dec 2023 -
2.0.021 Apr 2022Release notes
Open source →- make AssetDecoder return FutureOr and simplify decoders
- make 'decoder' a named constructor parameter
- rename bundle -> assetBundle
- improve docs
- add tests for all cache types
- rename StringAssetCache -> TextAssetCache
-
1.0.113 Feb 2022 -
1.0.012 Mar 2021 -
1.0.0+112 Mar 2021 -
0.3.012 Mar 2021Release notes
Open source →- breaking changes !!
- replaced Singeltons with public constructors
- pass optional basePath and bundle in constructors
- don't make decoders static
- rename special asset cache implementations to {Type}AssetCache
- update example to use ImageAssetCache
- use path to join basePath and asset name
- code cleanup
-
0.3.0+112 Mar 2021 -
0.3.0+212 Mar 2021 -
0.2.311 May 2020Nothing published for this version
-
0.2.211 May 2020Nothing published for this version
-
0.2.108 May 2020Nothing published for this version
-
0.2.008 May 2020Nothing published for this version
-
0.1.401 May 2020Nothing published for this version
-
0.1.301 May 2020Nothing published for this version
-
0.1.201 May 2020Nothing published for this version
-
0.1.101 May 2020Nothing published for this version
-
0.1.001 May 2020Nothing published for this version