Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributememory_cache

A simple, fast and global in-memory cache with CRUD features.

pub.devRemove
shared_preferences

Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.

pub.devRemove
ScoresHealth5097 (best)
Maintenance092 (best)
Quality100100
Popularity5099 (best)
Community41100 (best)
Compatibility100100
UsageDownloads (30 days)5.7k9.6M (best)
Likes3611k (best)
Pub points160 / 160160 / 160
GitHub stars225.3k (best)
MaintenanceLatest release1.2.0, 4 years ago2.5.6, 7 weeks ago (best)
Major versions in 12 months00
Contributors1100+ (best)
Publishergokberk.devflutter.dev
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartPlugin (native code)
Code generationNoNo
Direct dependencies0 (best)6
LicenseMITBSD-3-CLAUSE
Setup effortLow—
JudgementStrengths
  • Simple and fast CRUD operations
  • Supports expirable cache entries using Durations
  • Supports both global instance and local instances
No summary yet
Weaknesses
  • Data is lost when the app restarts since it is strictly in-memory
  • Lacks advanced querying or indexing features
No summary yet
WarningsNone
  • Native setup
memory_cache vs shared_preferences: which Flutter package should you use? | pubscout