PriceFormatter constructor
PriceFormatter({
- String? locale,
Creates a price formatter.
If locale is not provided, uses the system locale.
Implementation
PriceFormatter({String? locale})
: locale = locale ?? Platform.localeName.replaceAll('_', '-');