denyProfanity property
List<TextInputFormatter>
get
denyProfanity
Basic profanity filter Can be extended with more comprehensive word lists
Implementation
static List<TextInputFormatter> get denyProfanity => <TextInputFormatter>[
FilteringTextInputFormatter.deny(_profanityPattern),
];