amount_input_formatter 0.2.1
amount_input_formatter: ^0.2.1 copied to clipboard
A minimalistic and configurable number formatter to use with the TextField widget.
0.2.1 #
- fix: Entering a zero into a TextField with an attached formatter that was empty or had a double value equal to zero should move the current to the position after the decimal separator.
- Expanded and improved test coverage.
0.2.0 #
- fix: Using the "Delete" button on Windows will cause the cursor to jump to a position at index 1 when deleting from the start.
- feat: Introduced
isEmptyAllowed
flag forAmountInputFormatter
constructor and as a parameter forNumberFormatter
. It determines whether the TextField content can be empty or a formatted zero.