simple_currency_format library
Support for doing something awesome.
More dartdocs go here.
Functions
-
currencyFormat(
num value, {String locale = "pt_BR", String symbol = "R\$"}) → dynamic - Outputs num as currency format
-
maskedCurrencyFormat(
dynamic n, {String locale = "pt_BR", String symbol = "R\$"}) → String - Outputs num formated to show in a text
-
removeZeroDecimal(
dynamic n) → String - Outputs num with zero decimal removed