WhitelistingTextInputFormatter class Null safety
Old name for FilteringTextInputFormatter.allow.
- Inheritance
- Object
- TextInputFormatter
- FilteringTextInputFormatter
- WhitelistingTextInputFormatter
- Annotations
- @Deprecated('Use FilteringTextInputFormatter.allow instead. ' 'This feature was deprecated after v1.20.0-1.0.pre.')
Constructors
-
WhitelistingTextInputFormatter(Pattern whitelistedPattern
) - Old name for FilteringTextInputFormatter.allow.
Properties
- allow → bool
-
Whether the pattern is an allow list or not. [...]
final, inherited
- 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
- whitelistedPattern → Pattern
-
Old name for filterPattern.
@Deprecated('Use filterPattern instead. ' 'This feature was deprecated after v1.20.0-1.0.pre.'), read-only
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 -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited
Static Properties
- digitsOnly → WhitelistingTextInputFormatter
-
Old name for FilteringTextInputFormatter.digitsOnly.
@Deprecated('Use FilteringTextInputFormatter.digitsOnly instead. ' 'This feature was deprecated after v1.20.0-1.0.pre.'), final