Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeformz

A unified form representation and validation library for Dart.

pub.devRemove
rules

Type-safe, chainable validation library for Dart and Flutter.

pub.devRemove
ScoresHealth90 (best)60
Maintenance79 (best)44
Quality100 (best)97
Popularity95 (best)25
Community80 (best)46
Compatibility100100
UsageDownloads (30 days)264k (best)178
Likes919 (best)109
Pub points160 / 160160 / 160
GitHub stars492 (best)27
MaintenanceLatest release0.8.1, 3 months ago (best)3.7.0, 5 months ago
Major versions in 12 months0 (best)1
Contributors17 (best)2
Publisherverygood.venturesganeshrvel.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Type-safe representation of form fields and errors.
  • Supports pure and dirty states for validation feedback control.
  • Supports caching validation results for expensive checks.
  • Strongly typed validation schemas preventing type mismatches at compile time.
  • Chainable builder API with immutable schemas.
  • Zero runtime dependencies.
Weaknesses
  • Requires writing boilerplate classes for each form input type.
  • Does not provide out-of-the-box UI widgets for rendering forms.
  • No automated migration path from Rules 2.x to 3.x due to complete rewrite.
WarningsNoneNone
formz vs rules: which Flutter package should you use? | pubscout