money_to_text 1.0.4
money_to_text: ^1.0.4 copied to clipboard
It converts any double variable you send with this dart package to text as money
Money To Text #
With this flutter package, you can convert your money to text
Features #
Getting started #
No permission is needed.
Usage #
Please review the example folder
Supported Unit: $, €, ₺
Supported Language Turkish, English
Import Money Value: 2136.3 or 2136,30
Default Unit: ₺
Default Language: Turkish
Test with function
#
Example Function 1:
String moneyText = moneyToText(3456,50);
// Output: ÜçBin DörtYüzElliAltı Lira Elli Kuruş
Example Function 2:
String moneyText = moneyToText(3456,50, unit: MoneyUnit.turkishLira, lang: "tr");
// Output: ÜçBin DörtYüzElliAltı Lira Elli Kuruş
Example Function 3:
String moneyText = moneyToText(3456,50, unit: MoneyUnit.dollar, lang: "en");
// Output: ThreeThousand FourHundredFiftySix Dollars Fifty Cents
Example Function 4:
String moneyText = moneyToText(3456,50, unit: MoneyUnit.euro, lang: "en");
// Output: ThreeThousand FourHundredFiftySix Euros Fifty Cents