Closed agharium closed 2 years ago
@agharium Thank you for reporting the issue!
I will figure it out soon.
@agharium your code will be changed to
final CurrencyTextInputFormatter _formatter = CurrencyTextInputFormatter(
locale: 'pt-br',
decimalDigits: 2,
symbol: '',
);
TextFormField(
inputFormatters: [_formatter],
initialValue: _formatter.format('2000'),
),
I set symbol as an empty string, and it renders like this:
But when initialValue is set, the symbol appears anyway:
Can someone help me? 😁🙏
thanks!