Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeslugify

Converts a string into a URL‑friendly slug with configurable delimiter and case options.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth4983 (best)
Maintenance088 (best)
Quality8996 (best)
Popularity71 (best)50
Community1180 (best)
Compatibility100100
UsageDownloads (30 days)86k (best)78k
Likes50 (best)9
Pub points135 / 160150 / 160 (best)
GitHub stars23 (best)0
MaintenanceLatest release2.0.0, 6 years ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors29 (best)
PublisherUnverifiedonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Zero dependencies and null‑safe
  • Simple API with sensible defaults
  • Supports custom delimiter and case options
  • No external dependencies, pure Dart.
  • Up-to-date regexes and edge‑case handling (e.g., email backtracking fix).
  • Supports Dart 3.x and null safety.
Weaknesses
  • Limited language coverage compared to full transliteration libraries
  • No streaming or batch processing support
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
slugify vs validators2: which Flutter package should you use? | pubscout