A function that returns a list of validation rules for the input field. Each rule is a function that returns either a string error message or null.
final List<String? Function()> Function(String value) rules;