gtgalone / currency_text_input_formatter

Currency Text Input Formatter for Flutter.
https://pub.dev/packages/currency_text_input_formatter
MIT License
50 stars 29 forks source link

NumberFormat being passed as parameter to allow versatility. #52

Closed rsegecin closed 7 months ago

rsegecin commented 7 months ago

Its a breaking change.

NumberFormat being passed as parameter to allow versatility on its initialization. It allows to input a NumberFormat initialize as simpleCurrency that uses the actual currency symbol and maintain the possibility of working with the currency ISO name.

adds a method called getDouble to be able to get the double value directly.

Add example and tests for the newly getDouble method.

Also enable web compilation.