CurrencyTextInputFormatter.fromFormatter constructor
CurrencyTextInputFormatter.fromFormatter(
- CurrencyFormatter formatter, {
- bool zeroIsEmpty = false,
- TextDirection textDirection = TextDirection.ltr,
Implementation
CurrencyTextInputFormatter.fromFormatter(CurrencyFormatter formatter,
{this.zeroIsEmpty = false, this.textDirection = TextDirection.ltr}) {
_formatter = CurrencyFormatter(
locale: formatter.locale,
currency: formatter.currency,
symbol: formatter.symbol,
decimalDigits: formatter.decimalDigits);
}