FilteringTextInputFormatter.deny constructor Null safety
Creates a formatter that blocks characters matching a pattern.
The filterPattern
and replacementString
arguments
must not be null.
Implementation
FilteringTextInputFormatter.deny(
Pattern filterPattern, {
String replacementString = '',
}) : this(filterPattern, allow: false, replacementString: replacementString);