Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemime

Utilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.

pub.devRemove
mime2extension

Convert between MIME types and file extensions and detect file types from base64 data.

pub.devRemove
ScoresHealth92 (best)53
Maintenance86 (best)26
Quality100 (best)96
Popularity98 (best)28
Community80 (best)35
Compatibility100100
UsageDownloads (30 days)20M (best)6.6k
Likes629 (best)6
Pub points160 / 160 (best)150 / 160
GitHub stars123 (best)0
MaintenanceLatest release2.1.0, 3 months ago (best)0.0.5, 8 months ago
Major versions in 12 months00
Contributors100+ (best)0
Publishertools.dart.devuditswaroopa.tech
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Zero dependencies, pure Dart
  • Supports both extension and magic‑byte lookup
  • Provides a ready‑to‑use multipart stream transformer
  • Comprehensive database of MIME types and over 400 file signatures.
  • Supports wildcards for category-based extension queries.
  • Zero external dependencies except the Flutter SDK.
Weaknesses
  • Limited to the built‑in MIME table; not exhaustive for obscure types
  • No async API for large file scanning beyond header bytes
  • Limited to string and base64 inputs rather than direct binary stream parsing.
WarningsNoneNone
mime vs mime2extension: which Flutter package should you use? | pubscout