validator property
Returns an error string to display if the input is invalid, or null otherwise. It is also used to determine whether a date in a calendar is selectable.
Defaults to always returning null.
Implementation
final FormFieldValidator<DateTime> validator;