smart_cached_network_lottie 1.0.0
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.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_cached_network_lottieThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
smart_cached_network_lottie: ^1.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smart_cached_network_lottie/smart_cached_network_lottie.dart';