Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeacanthis

A type-safe and composable data validation library for Dart and Flutter.

pub.devRemove
zard

Schema validation and transformation library for Dart, inspired by Zod

pub.devRemove
ScoresHealth75 (best)58
Maintenance81 (best)47
Quality97 (best)93
Popularity51 (best)29
Community58 (best)46
Compatibility8585
UsageDownloads (30 days)6.8k (best)1.3k
Likes50 (best)26
Pub points160 / 160 (best)150 / 160
GitHub stars57 (best)29
MaintenanceLatest release2.0.0, 8 weeks ago (best)1.4.0, 4 months ago
Major versions in 12 months11
Contributors4 (best)2
Publisherserinus.appevandersondev.com.br
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies41 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Type-safe and composable schema definitions
  • Supports synchronous and asynchronous validation
  • Can export schemas to JSON Schema 2020-12 and OpenAPI 3.1
  • 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
  • Relatively new package with frequent breaking changes in recent versions
  • 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
acanthis vs zard: which Flutter package should you use? | pubscout