PackageTrack
Sign in Get early access

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 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 2.2.0 25 Jun 2025
    Release notes
    • 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
    Open source →
  2. 2.1.0 06 Dec 2023
    Release notes
    • update packages
    • use super in constructors
    Open source →
  3. 2.0.0 21 Apr 2022
    Release notes
    • 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
    Open source →
  4. 1.0.1 13 Feb 2022
    Release notes
    • make members final
    • cleanup
    • update license name / year
    Open source →
  5. 1.0.0 12 Mar 2021
    Release notes
    • migrate to null-safety
    Open source →
  6. 1.0.0+1 12 Mar 2021
    Release notes
    • pubspec description
    Open source →
  7. 0.3.0 12 Mar 2021
    Release notes
    • 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
    Open source →
  8. 0.3.0+1 12 Mar 2021
    Release notes
    • update README
    Open source →
  9. 0.3.0+2 12 Mar 2021
    Release notes
    • update README
    Open source →
  10. 0.2.3 11 May 2020

    Nothing published for this version

  11. 0.2.2 11 May 2020

    Nothing published for this version

  12. 0.2.1 08 May 2020

    Nothing published for this version

  13. 0.2.0 08 May 2020

    Nothing published for this version

  14. 0.1.4 01 May 2020

    Nothing published for this version

  15. 0.1.3 01 May 2020

    Nothing published for this version

  16. 0.1.2 01 May 2020

    Nothing published for this version

  17. 0.1.1 01 May 2020

    Nothing published for this version

  18. 0.1.0 01 May 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive