@override String? validate(String txt) => (requiredField && txt.length != null && txt.isNotEmpty) ? null : requiredFieldError;