PosInputFormatter constructor

const PosInputFormatter({
  1. DecimalPosSeparator decimalSeparator = DecimalPosSeparator.dot,
  2. ThousandsPosSeparator? thousandsSeparator,
  3. int mantissaLength = 2,
})

decimalSeparator specifies what symbol will be used to separate integer part between decimal part, e.g. ThousandsPosSeparator.comma will format ten point thirteen as 10.13 thousandsSeparator specifies what symbol will be used to separate each block of 3 digits, e.g. ThousandsPosSeparator.comma will format million as 1,000,000 mantissaLength specifies how many digits will be added after a period sign

Implementation

const PosInputFormatter({
  this.decimalSeparator = DecimalPosSeparator.dot,
  this.thousandsSeparator,
  this.mantissaLength = 2,
});