Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefile

Pluggable, mockable file system abstraction for Dart with in-memory support.

pub.devRemove
fs_shim

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

pub.devRemove
ScoresHealth5079 (best)
Maintenance5295 (best)
Quality96100 (best)
Popularity94 (best)40
Community80 (best)52
Compatibility85100 (best)
UsageDownloads (30 days)14M (best)9.6k
Likes299 (best)10
Pub points150 / 160160 / 160 (best)
GitHub stars123 (best)20
MaintenanceLatest release7.0.1, 2 years ago2.8.0, 4 days ago (best)
Major versions in 12 months00
Contributors100+ (best)3
Publishertools.dart.devtekartik.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies2 (best)5
LicenseBSD-3-CLAUSEBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Comes with a ready-to-use in-memory file system implementation.
  • Allows using multiple file systems simultaneously as first-class objects.
  • Drop-in API compatibility with `dart:io`.
  • 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
  • Does not include platform file picker UI out of the box.
  • Asynchronous API only; no synchronous methods are available.
  • OPFS backend does not support links or random access.
  • Web storage is bound by browser quotas.
Warnings
  • Quiet but busy
None
file vs fs_shim: which Flutter package should you use? | pubscout