BlacklistingTextInputFormatter class Null safety
Old name for FilteringTextInputFormatter.deny.
- Inheritance
- Object
- TextInputFormatter
- FilteringTextInputFormatter
- BlacklistingTextInputFormatter
- Annotations
- @Deprecated('Use FilteringTextInputFormatter.deny instead. ' 'This feature was deprecated after v1.20.0-1.0.pre.')
Constructors
- BlacklistingTextInputFormatter(Pattern blacklistedPattern, {String replacementString: ''})
- Old name for FilteringTextInputFormatter.deny.
Properties
- allow → bool
-
Whether the pattern is an allow list or not. [...]
final, inherited
- blacklistedPattern → Pattern
-
Old name for filterPattern.
@Deprecated('Use filterPattern instead. ' 'This feature was deprecated after v1.20.0-1.0.pre.'), read-only
- filterPattern → Pattern
-
A Pattern to match and replace in incoming TextEditingValues. [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- replacementString → String
-
String used to replace banned patterns. [...]
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
formatEditUpdate(
TextEditingValue oldValue, TextEditingValue newValue) → TextEditingValue -
Called when text is being typed or cut/copy/pasted in the EditableText. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Properties
- singleLineFormatter → BlacklistingTextInputFormatter
-
Old name for FilteringTextInputFormatter.singleLineFormatter.
@Deprecated('Use FilteringTextInputFormatter.singleLineFormatter instead. ' 'This feature was deprecated after v1.20.0-1.0.pre.'), final