- Added the
fieldSizeproperty.
- Fixed the iOS keyboard reopening/flickering issue during digit transitions.
- Added the
focusedFillColorproperty. - Added the
fontFamilyproperty.
- Bugs fixed for the
google_fontsdependency.
- Bugs fixed for the
borderproperty. autoFocusproperty: Added theautoFocusoption to automatically focus the first field when the widget is built, improving user experience.
- Bugs fixed for the
onChangedproperty.
onChangedcallback: Introduced theonChangedproperty, which triggers a callback function whenever the user initiates a change in the TextField's value, whether through insertion or deletion. This addition allows for real-time handling of input updates.
cleanAllAtOnceproperty: Added thecleanAllAtOnceoption. When enabled, a single deletion gesture clears all fields and focuses on the first field. This feature enhances user convenience by allowing quick resets.tripleSeparatedproperty: Introduced thetripleSeparatedoption, which divides 6-digit fields into two groups of three, separated by additional spacing. This layout improves readability for certain verification code formats.
- Added focusedBorder property.
- Documentation added.
- Support for 4, 5, or 6-digit codes.
- Enabled automatic focus navigation between fields.
- Customization for text style, cursor color, fill color and more.
onSubmitcallback to capture complete code on entry.- Limited input to digits only.