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
formz

A unified form representation and validation library for Dart.

pub.devRemove
ScoresHealth7590 (best)
Maintenance81 (best)79
Quality97100 (best)
Popularity5195 (best)
Community5880 (best)
Compatibility85100 (best)
UsageDownloads (30 days)6.8k264k (best)
Likes50919 (best)
Pub points160 / 160160 / 160
GitHub stars57492 (best)
MaintenanceLatest release2.0.0, 8 weeks ago (best)0.8.1, 3 months ago
Major versions in 12 months10 (best)
Contributors417 (best)
Publisherserinus.appverygood.ventures
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
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
  • Type-safe representation of form fields and errors.
  • Supports pure and dirty states for validation feedback control.
  • Supports caching validation results for expensive checks.
Weaknesses
  • Relatively new package with frequent breaking changes in recent versions
  • Requires writing boilerplate classes for each form input type.
  • Does not provide out-of-the-box UI widgets for rendering forms.
WarningsNoneNone
acanthis vs formz: which Flutter package should you use? | pubscout