Leverages libphonenumber to allow for asynchronous and synchronous formatting of phone numbers in Flutter apps. Includes a TextInputFormatter to allow real-time AsYouType formatting.
MIT License
59
stars
72
forks
source link
Fixes cursor behavior when shouldKeepCursorAtEndOfInput=false #39
This fixes the behavior of the cursor when shouldKeepCursorAtEndOfInput=false so it works as you would expect. There are 64 test cases to make sure the cursor / selection behave as expected in all possible scenarios of adding, replacing, or removing characters from the input.
This fixes the behavior of the cursor when
shouldKeepCursorAtEndOfInput=false
so it works as you would expect. There are 64 test cases to make sure the cursor / selection behave as expected in all possible scenarios of adding, replacing, or removing characters from the input.