CentavosInputFormatter constructor

CentavosInputFormatter({
  1. bool moeda = false,
  2. int casasDecimais = 2,
})

Implementation

CentavosInputFormatter({this.moeda = false, this.casasDecimais = 2})
    : assert(casasDecimais == 2 || casasDecimais == 3,
          'Quantidade de casas decimais deve ser 2 ou 3. Informado: $casasDecimais');