smart_cached_network_lottie 1.0.0 copy "smart_cached_network_lottie: ^1.0.0" to clipboard
smart_cached_network_lottie: ^1.0.0 copied to clipboard

A Flutter package for caching Lottie animations with smart update detection, automatic format handling (JSON and dotLottie), and ETag/Last-Modified based cache invalidation.

Changelog #

1.0.0 #

New Features #

  • SmartCachedNetworkLottie: New widget with show-cached-first pattern
  • Smart Format Detection: Automatic detection of JSON and dotLottie formats using magic bytes
  • ETag/Last-Modified Caching: Efficient update checking without re-downloading unchanged files
  • Update Callbacks: onUpdate and onUpdateAvailable for handling animation updates
  • SmartLottieCacheManager: Custom cache manager with metadata storage

Improvements #

  • Prioritize magic bytes over file extension for format detection
  • Support for files with .lottie extension containing JSON content
  • Async update checking that doesn't block initial rendering

0.0.1 #

  • Initial release with basic cached network Lottie support
1
likes
160
points
97
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for caching Lottie animations with smart update detection, automatic format handling (JSON and dotLottie), and ETag/Last-Modified based cache invalidation.

Repository (GitHub)
View/report issues

Topics

#lottie #cache #flutter #animation

Documentation

API reference

License

MIT (license)

Dependencies

archive, cached_network_image, flutter, flutter_cache_manager, http, lottie, path, path_provider

More

Packages that depend on smart_cached_network_lottie