Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributelru_cache

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

pub.devRemove
neat_cache

A cache abstraction for wrapping in-memory or redis caches with timeouts.

pub.devRemove
ScoresHealth5373 (best)
Maintenance3560 (best)
Quality93100 (best)
Popularity4052 (best)
Community680 (best)
Compatibility100 (best)85
UsageDownloads (30 days)7.6k8.8k (best)
Likes1129 (best)
Pub points145 / 160160 / 160 (best)
GitHub stars6512 (best)
MaintenanceLatest release0.0.3, 6 months ago (best)2.0.5, a year ago
Major versions in 12 months00
Contributors130 (best)
PublisherUnverifiedgoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)5
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Thread-safe out of the box using synchronization.
  • Customizable size calculation through a sizeOf method.
  • Provides a clean abstraction over different cache providers like Redis.
  • Supports prefixes and codecs for easy data serialization and scoping.
Weaknesses
  • In-memory only, data is lost when the app terminates.
  • Limited feature set beyond basic LRU caching.
  • Limited built-in provider options compared to larger caching libraries.
  • Testing Redis providers requires an external Redis instance.
Warnings
  • Unverified publisher
  • Quiet but busy
lru_cache vs neat_cache: which Flutter package should you use? | pubscout