I need to be able to input negative numbers, but this is currently not supported.
The NumberFormater does not allow the input of negative values. The pattern is statically set to _numPattern = RegExp('[^0-9$decimalSeparator]'),
It would be helpful, if the AmountInputFormatter would have a boolean paramter "signed" with the default of "false" to be backward compatible. That parameter would then set the pattern and on true allow the "-" character.
I need to be able to input negative numbers, but this is currently not supported.
The NumberFormater does not allow the input of negative values. The pattern is statically set to
_numPattern = RegExp('[^0-9$decimalSeparator]'),It would be helpful, if the AmountInputFormatter would have a boolean paramter "signed" with the default of "false" to be backward compatible. That parameter would then set the pattern and on true allow the "-" character.