validators property

List<FormCraftValidator>? validators
final

An optional list of FormCraftValidator functions that are called

whenever the input value changes. If the input value is invalid, the error message returned by the validator is displayed. If validators is null, the input value is considered valid.

Implementation

final List<FormCraftValidator>? validators;