Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributerandom_string

Generates random ASCII strings, numbers, and alphanumeric sequences for testing purposes.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth5083 (best)
Maintenance088 (best)
Quality100 (best)96
Popularity82 (best)50
Community2380 (best)
Compatibility100100
UsageDownloads (30 days)166k (best)78k
Likes204 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars24 (best)0
MaintenanceLatest release2.3.1, 5 years ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors49 (best)
PublisherUnverifiedonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Zero dependencies
  • Simple API
  • Customizable random provider
  • 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
  • Not suitable for security‑critical use
  • Limited to ASCII characters
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
random_string vs validators2: which Flutter package should you use? | pubscout