static String formatPrice(double price, {int? decimal}) { var decimal0 = decimal ?? 3; return price.toStringAsFixed(decimal0).replaceAll(".", ","); }