Class BlacklistingTextInputFormatter
Inheritance
System.Object
BlacklistingTextInputFormatter
Syntax
public class BlacklistingTextInputFormatter : TextInputFormatter
Constructors
BlacklistingTextInputFormatter(Regex, String)
Declaration
public BlacklistingTextInputFormatter(Regex blacklistedPattern, string replacementString = "")
Parameters
Type |
Name |
Description |
Regex |
blacklistedPattern |
|
System.String |
replacementString |
|
Fields
blacklistedPattern
Declaration
public readonly Regex blacklistedPattern
Field Value
replacementString
Declaration
public readonly string replacementString
Field Value
Type |
Description |
System.String |
|
singleLineFormatter
Declaration
public static readonly BlacklistingTextInputFormatter singleLineFormatter
Field Value
Methods
formatEditUpdate(TextEditingValue, TextEditingValue)
Declaration
public override TextEditingValue formatEditUpdate(TextEditingValue oldValue, TextEditingValue newValue)
Parameters
Returns
Overrides