currency_formatter
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.3.0
11K downloads/mo
#2788 most downloaded on pub.dev
roman910dev/currency_formatter
What this package is like to depend on
Last release 1 years ago
25 May 2025
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
14 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
14 releases · Oct 2020 to May 2025Releases
latest 14-
2.3.025 May 2025Release notes
Open source →Added
- Added
negativeSignPlacementoption toCurrencyFormatto control the position of the negative sign. This allows formatting like-€123.45or-$123.45when the symbol is on the left andnegativeSignPlacementis set toNegativeSignPlacement.beforeSymbol. Defaults to previous behavior (e.g.,€-123.45or$-123.45) if not specified or ifnegativeSignPlacementisNegativeSignPlacement.afterSymbol.
Release notes
Open source →Added
- Added
negativeSignPlacementoption toCurrencyFormatto control the position of the negative sign. This allows formatting like-€123.45or-$123.45when the symbol is on the left andnegativeSignPlacementis set toNegativeSignPlacement.beforeSymbol. Defaults to previous behavior (e.g.,€-123.45or$-123.45) if not specified or ifnegativeSignPlacementisNegativeSignPlacement.afterSymbol.
- Added
-
2.2.308 Apr 2025 -
2.2.210 Jan 2025Release notes
Open source →- Expanded
intlpackage support range (>=0.17.0 <0.21.0) for better compatibility with different project versions.
Release notes
Open source →- Expanded
intlpackage support range (>=0.17.0 <0.21.0) for better compatibility with different project versions.
- Expanded
-
2.2.104 Apr 2024 -
2.2.023 Nov 2023Release notes
Open source →- Added the
CurrencyFormatter.majorsListlist. - Deprecated
CurrencyFormatter.majorsandCurrencyFormatter.symbolsin favor ofCurrencyFormatter.majorsList. - Added the
codeproperty toCurrencyFormat. - Modified
CurrencyFormatter.fromSymbol()to accept an optionalList<CurrencyFormat>parameter specifying a custom list of currencies. - Added
CurrencyFormatter.fromCode()to get aCurrencyFormatfrom a currency code (e.g.usd). - Added
CurrencyFormatter.fromLocale()to get aCurrencyFormatfrom a locale.
- Added the
-
2.1.001 Oct 2023Release notes
Open source →- Removed
flutterdependency. This package is pure Dart. - Removed
universal_iodependency. It was preventing this package support for web to be properly displayed on pub.dev. - Increased minimum Dart version to
2.13.0. - Renamed
CurrencyFormatterSettingstoCurrencyFormatter. The old name is still available as a deprecated class. CurrencyFormat.thousandSeparatorandCurrencyFormat.decimalSeparatorgetters are now non-nullable.CurrencyFormatconstructor is now fullyconst.CurrencyFormatter.majorsis nowconstand so are all its values.- Add
CurrencyFormatequality operator. TwoCurrencyFormats are equal if all their properties are equal. - Add
CurrencyFormat.toString().
- Removed
-
2.0.112 May 2023 -
2.0.021 Aug 2022Release notes
Open source →Major changes.
- Changed dependency from
dart:iotouniversal:iofor better web support. CurrencyFormatteris now anabstractclass, soformat()andparse()arestaticmethods.- Included currencies can now be accessed from
CurrencyFormatterSettings. CurrencyFormatterSettingsnow accepts asymbolSeparatorparameter.CurrencyFormatterSettingscan now be modified usingcopyWith()method.CurrencyFormater().getLocal()is nowCurrencyFormatterSettings.local.
- Changed dependency from
-
1.2.120 Apr 2022Release notes
Open source →Added
CurrencyFormatter().parse(). Fixed a formatting bug withthousandSeparatorfor negative numbers. -
1.2.027 Nov 2021 -
1.1.125 Aug 2021Release notes
Open source →Fixed bug where
thousandSeparatorwould not show. Fixed bug where withcompactformatting. -
1.1.022 Dec 2020Release notes
Open source →Removed flutter_money_formatter dependency. Now it only depends on intl and its latest version can be used.
-
1.0.104 Oct 2020 -
1.0.003 Oct 2020