PackageTrack
Sign in Get early access

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 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 2.3.0 25 May 2025
    Release notes

    Added

    • Added negativeSignPlacement option to CurrencyFormat to control the position of the negative sign. This allows formatting like -€123.45 or -$123.45 when the symbol is on the left and negativeSignPlacement is set to NegativeSignPlacement.beforeSymbol. Defaults to previous behavior (e.g., €-123.45 or $-123.45) if not specified or if negativeSignPlacement is NegativeSignPlacement.afterSymbol.
    Open source →
    Release notes

    Added

    • Added negativeSignPlacement option to CurrencyFormat to control the position of the negative sign. This allows formatting like -€123.45 or -$123.45 when the symbol is on the left and negativeSignPlacement is set to NegativeSignPlacement.beforeSymbol. Defaults to previous behavior (e.g., €-123.45 or $-123.45) if not specified or if negativeSignPlacement is NegativeSignPlacement.afterSymbol.
    Open source →
  2. 2.2.3 08 Apr 2025
    Release notes
    • Replaced dart:html usage with package:web.
    Open source →
    Release notes
    • Replaced dart:html usage with package:web.
    Open source →
  3. 2.2.2 10 Jan 2025
    Release notes
    • Expanded intl package support range (>=0.17.0 <0.21.0) for better compatibility with different project versions.
    Open source →
    Release notes
    • Expanded intl package support range (>=0.17.0 <0.21.0) for better compatibility with different project versions.
    Open source →
  4. 2.2.1 04 Apr 2024
    Release notes

    Added

    • Some examples.
    • Some tests.

    Fixed

    • Upgraded dependecies.
    Open source →
    Release notes
    • Upgraded dependencies.
    • Added examples.
    • Added tests.
    Open source →
  5. 2.2.0 23 Nov 2023
    Release notes
    • Added the CurrencyFormatter.majorsList list.
    • Deprecated CurrencyFormatter.majors and CurrencyFormatter.symbols in favor of CurrencyFormatter.majorsList.
    • Added the code property to CurrencyFormat.
    • Modified CurrencyFormatter.fromSymbol() to accept an optional List<CurrencyFormat> parameter specifying a custom list of currencies.
    • Added CurrencyFormatter.fromCode() to get a CurrencyFormat from a currency code (e.g. usd).
    • Added CurrencyFormatter.fromLocale() to get a CurrencyFormat from a locale.
    Open source →
  6. 2.1.0 01 Oct 2023
    Release notes
    • Removed flutter dependency. This package is pure Dart.
    • Removed universal_io dependency. It was preventing this package support for web to be properly displayed on pub.dev.
    • Increased minimum Dart version to 2.13.0.
    • Renamed CurrencyFormatterSettings to CurrencyFormatter. The old name is still available as a deprecated class.
    • CurrencyFormat.thousandSeparator and CurrencyFormat.decimalSeparator getters are now non-nullable.
    • CurrencyFormat constructor is now fully const.
    • CurrencyFormatter.majors is now const and so are all its values.
    • Add CurrencyFormat equality operator. Two CurrencyFormats are equal if all their properties are equal.
    • Add CurrencyFormat.toString().
    Open source →
  7. 2.0.1 12 May 2023
    Release notes
    • Upgraded intl package to ^0.18.0 to enable support for Flutter 3.10.
    Open source →
  8. 2.0.0 21 Aug 2022
    Release notes

    Major changes.

    • Changed dependency from dart:io to universal:io for better web support.
    • CurrencyFormatter is now an abstract class, so format() and parse() are static methods.
    • Included currencies can now be accessed from CurrencyFormatterSettings.
    • CurrencyFormatterSettings now accepts a symbolSeparator parameter.
    • CurrencyFormatterSettings can now be modified using copyWith() method.
    • CurrencyFormater().getLocal() is now CurrencyFormatterSettings.local.
    Open source →
  9. 1.2.1 20 Apr 2022
    Release notes

    Added CurrencyFormatter().parse(). Fixed a formatting bug with thousandSeparator for negative numbers.

    Open source →
  10. 1.2.0 27 Nov 2021
    Release notes

    Migrated to sound null safety.

    Open source →
  11. 1.1.1 25 Aug 2021
    Release notes

    Fixed bug where thousandSeparator would not show. Fixed bug where with compact formatting.

    Open source →
  12. 1.1.0 22 Dec 2020
    Release notes

    Removed flutter_money_formatter dependency. Now it only depends on intl and its latest version can be used.

    Open source →
  13. 1.0.1 04 Oct 2020
    Release notes

    Improve pub score.

    Open source →
  14. 1.0.0 03 Oct 2020
    Release notes

    Initial release.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive