CurrencyTextInputFormatter constructor

CurrencyTextInputFormatter({
  1. String? locale,
  2. String? currency,
  3. String? symbol,
  4. int? decimalDigits,
  5. bool zeroIsEmpty = false,
  6. TextDirection textDirection = TextDirection.ltr,
})

Implementation

CurrencyTextInputFormatter(
    {String? locale,
    String? currency,
    String? symbol,
    int? decimalDigits,
    this.zeroIsEmpty = false,
    this.textDirection = TextDirection.ltr}) {
  _formatter = CurrencyFormatter(
      locale: locale,
      currency: currency,
      symbol: symbol,
      decimalDigits: decimalDigits);
}