Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributesanitize_filename

Sanitizes strings by removing or replacing characters illegal for filenames.

pub.devRemove
ulid

Lexicographically sortable 128-bit identifier generator.

pub.devRemove
ScoresHealth3089 (best)
Maintenance0100 (best)
Quality100100
Popularity2766 (best)
Community3569 (best)
Compatibility100100
UsageDownloads (30 days)5k31k (best)
Likes856 (best)
Pub points160 / 160160 / 160
GitHub stars540 (best)
MaintenanceLatest release1.0.5, 4 years ago2.2.1, today (best)
Major versions in 12 months00
Contributors06 (best)
Publishere-go-mobile.deagilord.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseLGPL-3.0BSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Zero dependencies
  • Works on all Dart platforms
  • Customizable replacement character
  • Lexicographically sortable by time
  • Supports custom random sources and monotonic increments via UlidFactory
  • Cross-platform support including Dart-only web and mobile
Weaknesses
  • Only handles character replacement, no path normalization
  • Limited configurability
  • Some older methods like toCanonical are deprecated in favor of toBase32
  • toString casing behavior is scheduled to change in a future major version
Warnings
  • File-level copyleft
  • Repository archived
None
sanitize_filename vs ulid: which Flutter package should you use? | pubscout