Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeluthor

A Dart validation library inspired by Zod with optional code generation support.

pub.devRemove
zard

Schema validation and transformation library for Dart, inspired by Zod

pub.devRemove
ScoresHealth77 (best)58
Maintenance94 (best)47
Quality97 (best)93
Popularity1729 (best)
Community74 (best)46
Compatibility100 (best)85
UsageDownloads (30 days)5001.3k (best)
Likes2426 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars2929
MaintenanceLatest release1.1.0, 7 days ago (best)1.4.0, 4 months ago
Major versions in 12 months11
Contributors7 (best)2
Publisherex3.devevandersondev.com.br
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies0 (best)1
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Fluent and intuitive API inspired by Zod.
  • Supports optional code generation for type-safe SchemaKeys and ErrorKeys.
  • Zero runtime dependencies.
  • Extensive built-in string, numeric, list, and map validators including ISO dates and network types.
  • High performance that meets or beats Zod on many operations.
  • Supports both throwing and non-throwing parse APIs along with async refinements.
Weaknesses
  • Requires Dart 3.11 or later.
  • Requires learning a custom validation rule syntax and API.
  • Closure-only constraints like custom refinements cannot be introspected for static schema exporting.
  • Slightly slower than V8 on complex nested objects due to Dart VM limitations.
WarningsNoneNone
luthor vs zard: which Flutter package should you use? | pubscout