FormValidatorCallback typedef
FormValidatorCallback =
void Function(FormValidator validate, dynamic data)
Signature for the closure-based validator used by InputField.validate.
The closure receives a fresh FormValidator and the field's current
value, and is expected to register rules — typically via
validate.that(data, attribute).<rule>().
Implementation
typedef FormValidatorCallback =
void Function(FormValidator validate, dynamic data);