formatPrice function
Implementation
String formatPrice(int price){
//*
final Currency brlCurrency = Currency.create(
'BRL', 2, symbol: 'R\$', pattern: 'S 0,00', invertSeparators: true
);
Money money = Money.fromInt(price, code: "BRL");
return money.toString();
}