Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesafe_local_storage

Key-value storage library for Dart/Flutter that safely reads and writes local data.

pub.devRemove
stock

Dart package for async data loading, caching, and combining local and network data sources.

pub.devRemove
ScoresHealth73 (best)50
Maintenance86 (best)3
Quality100 (best)96
Popularity62 (best)40
Community1163 (best)
Compatibility85100 (best)
UsageDownloads (30 days)559k (best)705
Likes12119 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars1485 (best)
MaintenanceLatest release2.0.7, 4 weeks ago (best)1.1.2, 2 years ago
Major versions in 12 months00
Contributors25 (best)
PublisherUnverifiedxmartlabs.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)3
LicenseMITAPACHE-2.0
Setup effortLowMedium
JudgementStrengths
  • Cross-platform support
  • Simple, declarative API
  • No build_runner or codegen required
  • Combines local and network data sources seamlessly.
  • Catches errors and wraps them into stream responses instead of throwing unhandled exceptions.
  • Provides built-in memory caching via CachedSourceOfTruth for non-stream sources.
Weaknesses
  • No built-in encryption
  • Limited to primitive types
  • No query or migration capabilities
  • Requires proper setup of custom fetchers, sources of truth, and potential mapping logic.
  • Does not replace a complete state management solution on its own.
Warnings
  • Unverified publisher
None
safe_local_storage vs stock: which Flutter package should you use? | pubscout