Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefile_magic_number

Detect file types based on content headers and magic numbers across platforms.

pub.devRemove
file_selector_macos

macOS implementation of the file_selector plugin

pub.devRemove
ScoresHealth7382 (best)
Maintenance7590 (best)
Quality93 (best)91
Popularity4763 (best)
Community5280 (best)
Compatibility100 (best)79
UsageDownloads (30 days)6.6k2.2M (best)
Likes28 (best)15
Pub points150 / 160 (best)140 / 160
GitHub stars65.3k (best)
MaintenanceLatest release2.1.0, 4 months ago0.9.5+2, 5 weeks ago (best)
Major versions in 12 months10 (best)
Contributors3100+ (best)
Publishervictorcarreras.devflutter.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxmacOS
WASM-readyYesYes
KindFlutter widgetsPlugin (native code)
Code generationNoNo
Direct dependencies33
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Supports mobile, desktop, and web without native code dependencies.
  • Allows dynamic registration of custom file signatures, extensions, and MIME-to-type mappings.
  • Optimized stream reading prevents high memory usage on large files.
  • Native macOS integration
  • Supports entitlements for read/write access
  • Keeps up with latest Flutter SDKs
  • No extra pubspec dependency needed when using file_selector
Weaknesses
  • Limited to predefined file type signatures unless custom types are explicitly registered.
  • Only works on macOS
  • Requires adding entitlements to the app bundle
  • No support for other platforms
WarningsNone
  • Native setup
file_magic_number vs file_selector_macos: which Flutter package should you use? | pubscout