money_to_text 1.0.1 money_to_text: ^1.0.1 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: "₺", lang: "tr");
// Output: ÜçBin DörtYüzElliAltı Lira Elli Kuruş
Example Function 3:
String moneyText = moneyToText(3456,50, unit: "\$", lang: "en");
// Output: ThreeThousand FourHundredFiftySix Dollars Fifty Cents
Example Function 4:
String moneyText = moneyToText(3456,50, unit: "€", lang: "en");
// Output: ThreeThousand FourHundredFiftySix Euros Fifty Cents