Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecharacters

Unicode and grapheme cluster aware string manipulation operations for Dart.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth86 (best)83
Maintenance5788 (best)
Quality100 (best)96
Popularity96 (best)50
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)12M (best)78k
Likes507 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars77 (best)0
MaintenanceLatest release1.4.1, a year ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)9
Publisherdart.devonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Safe handling of emojis and combined characters.
  • Bi-directional navigation and range manipulation via CharacterRange.
  • Zero dependencies.
  • 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
  • Operations cannot be index-based because grapheme clusters have varying lengths.
  • Regular expressions cannot be used safely directly on a sequence of characters.
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
Warnings
  • Quiet but busy
None
characters vs validators2: which Flutter package should you use? | pubscout