Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeform_field_validator

A straightforward Flutter form field validator providing common validation options.

pub.devRemove
formz

A unified form representation and validation library for Dart.

pub.devRemove
ScoresHealth5090 (best)
Maintenance079 (best)
Quality91100 (best)
Popularity8595 (best)
Community5280 (best)
Compatibility100100
UsageDownloads (30 days)33k264k (best)
Likes457919 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars123492 (best)
MaintenanceLatest release1.1.0, 6 years ago0.8.1, 3 months ago (best)
Major versions in 12 months00
Contributors317 (best)
Publishercodeness.lyverygood.ventures
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Simple and straightforward usage directly in TextFormField validators.
  • Supports multi-rule validation out of the box.
  • Easy to extend for custom validation logic.
  • 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
  • Limited to form field validation options provided or custom subclasses.
  • No advanced form state management features.
  • Requires writing boilerplate classes for each form input type.
  • Does not provide out-of-the-box UI widgets for rendering forms.
WarningsNoneNone
form_field_validator vs formz: which Flutter package should you use? | pubscout