Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeregexpattern

Flutter collection of regex patterns for string validation.

pub.devRemove
validators

String validation and sanitization library for Dart

pub.devRemove
ScoresHealth4850 (best)
Maintenance1 (best)0
Quality96 (best)91
Popularity5786 (best)
Community1745 (best)
Compatibility100100
UsageDownloads (30 days)4k148k (best)
Likes129243 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars2982 (best)
MaintenanceLatest release2.6.0, 3 years ago (best)3.0.0, 6 years ago
Major versions in 12 months00
Contributors38 (best)
PublisherUnverifiedUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Includes a wide variety of pre-defined regex patterns (emails, crypto addresses, file types, passwords).
  • Offers convenient String extensions for quick matching.
  • Easy to integrate with minimal setup.
  • Wide range of built‑in validators
  • Null safety support
  • No external dependencies
Weaknesses
  • Relies entirely on static regex strings which may need updates for edge-case formats.
  • Limited documentation beyond the list of provided pattern names.
  • Limited to string validation only
  • No UI components or form integration helpers
WarningsNoneNone
regexpattern vs validators: which Flutter package should you use? | pubscout