TextValidationConfig constructor
const
TextValidationConfig({})
Creates a text validation config.
Implementation
const TextValidationConfig({
this.allowEmpty = true,
this.allowOnlyWhitespace = true,
this.trimWhitespace = false,
this.minLength,
this.maxLength,
this.pattern,
this.allowedCharacters,
this.blacklistedWords = const {},
});