Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepath_provider

Provides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.

pub.devRemove
xdg_directories

A Dart package for reading XDG directory configuration information on Linux.

pub.devRemove
ScoresHealth93 (best)50
Maintenance77 (best)52
Quality100100
Popularity98 (best)79
Community100 (best)80
Compatibility100 (best)85
UsageDownloads (30 days)11M (best)11M
Likes5.6k (best)43
Pub points160 / 160160 / 160
GitHub stars5.3k5.3k (best)
MaintenanceLatest release2.1.6, 5 months ago (best)1.1.0, 2 years ago
Major versions in 12 months00
Contributors100+100+
Publisherflutter.devflutter.dev
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoNo
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies52 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple, well‑documented API
  • Supports all major desktop and mobile platforms
  • Handles platform nuances and null/UnsupportedError cases
  • Directly supports XDG specification base and user directories
  • Simple, function-based API
Weaknesses
  • Only provides directory paths, not file‑picker UI
  • Requires native plugin setup for each platform
  • Linux-only package
  • Limited to reading configuration information
Warnings
  • Native setup
  • Quiet but busy
path_provider vs xdg_directories: which Flutter package should you use? | pubscout