currency_formatter 2.0.0 currency_formatter: ^2.0.0 copied to clipboard
A package to easily format money. It supports setting a custom currency symbol and format, using some of the inbuilt ones for the main currencies or using the system one.
[2.0.0] - 2022-08-21 #
Major changes.
- Changed dependency from
dart:io
touniversal:io
for better web support. CurrencyFormatter
is now anabstract
class, soformat()
andparse()
arestatic
methods.- Included currencies can now be accessed from
CurrencyFormatterSettings
. CurrencyFormatterSettings
now accepts asymbolSeparator
parameter.CurrencyFormatterSettings
can now be modified usingcopyWith()
method.CurrencyFormater().getLocal()
is nowCurrencyFormatterSettings.local
.
[1.2.1] - 2022-04-20 #
Added CurrencyFormatter().parse()
.
Fixed a formatting bug with thousandSeparator
for negative numbers.
[1.2.0] - 2021-11-27 #
Migrated to sound null safety.
[1.1.1] - 2021-08-25 #
Fixed bug where thousandSeparator
would not show.
Fixed bug where with compact
formatting.
[1.1.0] - 2020-12-22 #
Removed flutter_money_formatter dependency. Now it only depends on intl and its latest version can be used.
[1.0.1] - 2020-10-04 #
Improve pub score.
[1.0.0] - 2020-10-02 #
Initial release.