MoneyMaskedTextController constructor
MoneyMaskedTextController({})
Implementation
MoneyMaskedTextController(
{double initialValue = 0.0,
this.decimalSeparator = ',',
this.thousandSeparator = '.',
this.rightSymbol = '',
this.leftSymbol = '',
this.precision = 2}) {
_validateConfig();
this.addListener(() {
this.updateValue(this.numberValue);
this.afterChange(this.text, this.numberValue);
});
this.updateValue(initialValue);
}