getNumberBasedOnLocale method
Implementation
String getNumberBasedOnLocale(BuildContext context, num value) {
Locale locale = Localizations.localeOf(context);
var format = NumberFormat.simpleCurrency(locale: locale.toString());
final oCcy = NumberFormat("#,##0.00", format.locale);
return oCcy.format(num);
}