Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefzregex

A regex validation library for common user input, identifiers, media formats, and financial data.

pub.devRemove
zod_validation

Data validation library for Flutter forms and Shelf backend requests.

pub.devRemove
ScoresHealth55 (best)44
Maintenance8 (best)1
Quality9191
Popularity56 (best)46
Community52 (best)6
Compatibility100100
UsageDownloads (30 days)2.8k8k (best)
Likes173 (best)24
Pub points140 / 160140 / 160
GitHub stars17 (best)11
MaintenanceLatest release2.2.0, a year ago (best)1.0.5, 3 years ago
Major versions in 12 months00
Contributors3 (best)1
Publisherfrazile.comUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Comprehensive collection of ready-to-use regex patterns for various domains.
  • Simple static utility methods for validating inputs instantly.
  • Supports both frontend Flutter widgets and backend Shelf routes.
  • Customizable localization for validation error messages.
  • Includes various built-in validations such as email, password, min/max length, and CPF/CNPJ.
Weaknesses
  • Limited to pure regex matching without advanced context-aware validation.
  • No built-in UI form widgets or error-state management out of the box.
  • Limited documentation on all available custom validation rules.
  • No pre-existing alternatives in the catalog that cover both full schema and form validation simultaneously.
WarningsNoneNone
fzregex vs zod_validation: which Flutter package should you use? | pubscout