Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeking_cache

File‑ and IndexedDB‑based cache for API responses and markdown content.

pub.devRemove
lru_cache

A simple least recently used (LRU) cache implementation in Dart.

pub.devRemove
ScoresHealth71 (best)53
Maintenance90 (best)35
Quality96 (best)93
Popularity2240 (best)
Community52 (best)6
Compatibility85100 (best)
UsageDownloads (30 days)1.1k7.6k (best)
Likes13 (best)11
Pub points150 / 160 (best)145 / 160
GitHub stars16 (best)
MaintenanceLatest release0.0.61, 3 weeks ago (best)0.0.3, 6 months ago
Major versions in 12 months00
Contributors3 (best)1
Publisherkingtechnologies.devUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies111 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Works on all Flutter platforms including web
  • Built‑in expiry and markdown‑specific helpers
  • Simple API with minimal setup
  • Thread-safe out of the box using synchronization.
  • Customizable size calculation through a sizeOf method.
Weaknesses
  • Limited to file/IndexedDB storage, no encryption
  • Small community and few updates
  • No built‑in cache size management
  • In-memory only, data is lost when the app terminates.
  • Limited feature set beyond basic LRU caching.
WarningsNone
  • Unverified publisher
king_cache vs lru_cache: which Flutter package should you use? | pubscout