CurrencyTextInputFormatter class
- Inheritance
-
- Object
- TextInputFormatter
- CurrencyTextInputFormatter
Constructors
Properties
- customPattern → String?
-
final
- decimalDigits → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale → String?
-
final
- name → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → String?
-
final
- turnOffGrouping → bool
-
final
Methods
-
format(
String value) → String - Method for formatting value. You can use initialValue with this method.
-
formatEditUpdate(
TextEditingValue oldValue, TextEditingValue newValue) → TextEditingValue -
Called when text is being typed or cut/copy/pasted in the EditableText.
override
-
getFormattedValue(
) → String -
Get String type value with format such as
$ 2,000.00
-
getUnformattedValue(
) → num -
Get num type value without format such as
2000.00
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited