Symbols

A number of currency have different symbols, you can specify the symbol when creating the currency.

The Common Currencies have the appropriate symbol configured for each currency.

import 'package:money2/money2.dart';

// Create a currency for Japan's yen with the correct symbol
Currency jpy = Currency.create('JPY', 0, symbol: '¥');
Currency euro = Currency.create('EUR', 2, symbol: '€');

Last updated