validator property

FormFieldValidator<String>? validator
final

The validator function. Same as TextFormField validator but the returned text will not be displayed, the border will just turn red.

Implementation

final FormFieldValidator<String>? validator;