Closed pishguy closed 3 years ago
in this code i try to enable or disable formatter on textformField, but i can't
formatter = false; formatter? CurrencyTextInputFormatter( locale: 'en', decimalDigits: 0, symbol: ',', ) :null /* nothing*/,
@MahdiPishguy Thank you for using!
I think you should use setState for managing formatter state.
It could be toggle formatter.
in this code i try to enable or disable formatter on textformField, but i can't