getPrice function
Implementation
String getPrice(String text) {
if (text.isNotEmpty) {
/* try {
var formatter = NumberFormat('#,##,###');
return "₹ ${formatter.format(double.parse(text))}";
} catch (e) {
return "₹ $text";
}*/
return "₹ $text";
} else {
return "₹ $text";
}
}