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

A production-ready caching solution for Flutter and Dart with auto-loading cache, tiered caching (L1/L2), stale-while-revalidate, multiple eviction policies, event streams, and Prometheus-compatible metrics.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_cache_provider

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_cache_provider: ^1.0.0

Alternatively, 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:flutter_cache_provider/flutter_cache_provider.dart';
1
likes
140
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A production-ready caching solution for Flutter and Dart with auto-loading cache, tiered caching (L1/L2), stale-while-revalidate, multiple eviction policies, event streams, and Prometheus-compatible metrics.

Repository (GitHub)
View/report issues

Topics

#cache #caching #state-management #performance #flutter

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_cache_provider