Validator for input value. Returns a string if there's an error.
final String? Function(String?)? validator;