Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecross_local_storage

SharedPreferences wrapper for Mobile, Web, and Desktop with JSON file storage support.

pub.devRemove
fs_shim

Portable file system API working identically on io, web (IndexedDB/OPFS) and memory.

pub.devRemove
ScoresHealth4979 (best)
Maintenance995 (best)
Quality100100
Popularity2440 (best)
Community4152 (best)
Compatibility100100
UsageDownloads (30 days)4019.6k (best)
Likes32 (best)10
Pub points160 / 160160 / 160
GitHub stars1020 (best)
MaintenanceLatest release3.1.0, a year ago2.8.0, 4 days ago (best)
Major versions in 12 months00
Contributors13 (best)
Publisherthisismarch.devtekartik.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies1 (best)5
LicenseBSD-3-CLAUSEBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Supports all major platforms including desktop via JSON files.
  • Familiar SharedPreferences-like interface.
  • Consistent asynchronous API across IO, web (IndexedDB and OPFS), and memory.
  • Great for writing testable code with in-memory files.
  • Drop-in wrapper or replacement for dart:io file classes via fs_io.dart.
Weaknesses
  • Writes cannot be guaranteed to persist to disk after returning.
  • Not suitable for critical data storage.
  • Asynchronous API only; no synchronous methods are available.
  • OPFS backend does not support links or random access.
  • Web storage is bound by browser quotas.
WarningsNoneNone
cross_local_storage vs fs_shim: which Flutter package should you use? | pubscout