Closed Lazizbek97 closed 1 year ago
I have added the formatter to textformfield, but when i try to parse the controller.text, it fails. reason: I cannot remove empty space inside numbers. What is the problem? How can i remove empty spaces and parse it to number?
Hello @Lazizbek97
Maybe you can use built-in methods.
https://github.com/gtgalone/currency_text_input_formatter#with-built-in-methods
I have added the formatter to textformfield, but when i try to parse the controller.text, it fails. reason: I cannot remove empty space inside numbers. What is the problem? How can i remove empty spaces and parse it to number?