Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributestring_similarity

Finds the degree of similarity between strings using Dice's Coefficient.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth7283 (best)
Maintenance4688 (best)
Quality100 (best)96
Popularity77 (best)50
Community5280 (best)
Compatibility100100
UsageDownloads (30 days)84k (best)78k
Likes129 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars36 (best)0
MaintenanceLatest release2.2.0, 8 months ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors39 (best)
Publisherjeremylandon.comonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Provides both extension methods and static methods
  • Often performs better than Levenshtein distance for text comparison
  • 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
  • Strings shorter than 2 characters are not meaningful and return a similarity score of 0.0
  • Comparison is case and diacritic sensitive
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
string_similarity vs validators2: which Flutter package should you use? | pubscout