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
nullx

Collection of extensions for handling null types in Dart.

pub.devRemove
ScoresHealth92 (best)58
Maintenance86 (best)41
Quality100 (best)96
Popularity98 (best)24
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)20M (best)2.1k
Likes629 (best)11
Pub points160 / 160 (best)150 / 160
GitHub stars123 (best)47
MaintenanceLatest release2.1.0, 3 months ago (best)0.1.17, 2 years ago
Major versions in 12 months00
Contributors100+ (best)2
Publishertools.dart.devshtanko.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)2
LicenseBSD-3-CLAUSEAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Zero dependencies, pure Dart
  • Supports both extension and magic‑byte lookup
  • Provides a ready‑to‑use multipart stream transformer
  • Simplifies working with nullable types and collections.
  • Provides intuitive helper extensions like isNullOrEmpty, orZero, and mapNonNull.
Weaknesses
  • Limited to the built‑in MIME table; not exhaustive for obscure types
  • No async API for large file scanning beyond header bytes
  • Adds an external dependency for features largely covered by standard Dart null safety features.
  • Documentation outside the README is minimal.
WarningsNoneNone
mime vs nullx: which Flutter package should you use? | pubscout