TelefoneInputFormatter class
Formata o valor do campo com a mascara ( (99) 9999-9999 ).
[digito_9]
indica se o campo tera o nono dígito ou não.
Constructors
- TelefoneInputFormatter({bool digito_9: false })
Properties
- digito_9 ↔ bool
-
boolean
para indicar se o campo aceita o nono dígito ou não.read / write - maxLength ↔ int
-
Define o tamanho máximo do campo.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, 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
. [...] -
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 ==(
dynamic other) → bool -
The equality operator. [...]
inherited