FormFieldValidator<T> typedef Null safety

FormFieldValidator<T> = String? Function(T? value)

same function signature as FormTextField's validator;

Implementation

typedef FormFieldValidator<T> = String? Function(T? value);