Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributestringr

Comprehensive string manipulation library supporting Latin, non-Latin, and grapheme clusters.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth6683 (best)
Maintenance4188 (best)
Quality100 (best)96
Popularity61 (best)50
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)75k78k (best)
Likes20 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars6 (best)0
MaintenanceLatest release1.2.2, 8 months ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors29 (best)
Publisherchinmaykabi.comonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies10 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Full Unicode and grapheme cluster support
  • Smart word detection using regex patterns instead of simple whitespace splitting
  • Zero heavy dependencies (only characters)
  • 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
  • Does not provide localization or translation features
  • Some legacy methods are deprecated in version 1.2.0
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
stringr vs validators2: which Flutter package should you use? | pubscout