formatMoney method
Implementation
String formatMoney(dynamic value) {
double dValue = parseDouble(value);
final formatter = new NumberFormat("#,##0.00", "pt_BR");
String newText = "R\$ " + formatter.format(dValue);
return newText;
}
String formatMoney(dynamic value) {
double dValue = parseDouble(value);
final formatter = new NumberFormat("#,##0.00", "pt_BR");
String newText = "R\$ " + formatter.format(dValue);
return newText;
}