FormFieldValidator<T> typedef
FormFieldValidator<T> =
String? Function(T? value)
same function signature as FormTextField's validator; So We can take advantage of this by only calling the rule.
Implementation
typedef FormFieldValidator<T> = String? Function(T? value);