verification_code_field 1.2.5
verification_code_field: ^1.2.5 copied to clipboard
This package provides an input field that allows you to enter a 4, 5 or 6 digit verification code in your applications.
1.2.5 #
- Added
clearOnTap. When it is true, tapping a box clears that box and every box after it. When it is false, the tapped box stays focused and keeps its digit; the next digit overwrites it and moves to the following box. - Added
VerificationCodeControllerto read the current code, clear the fields withclear(), and focus the next empty box — or the last box when the code is complete — withfocus(). - Entering a digit in the last box now unfocuses the field in both tap modes.
- Removed
fontFamily; set the font throughtextStyleinstead.
1.2.4 #
- Added the
fieldSizeproperty.
1.2.2 #
- Fixed the iOS keyboard reopening/flickering issue during digit transitions.
- Added the
focusedFillColorproperty. - Added the
fontFamilyproperty.
1.2.0 #
- Bugs fixed for the
google_fontsdependency.
1.1.2 #
- Bugs fixed for the
borderproperty. autoFocusproperty: Added theautoFocusoption to automatically focus the first field when the widget is built, improving user experience.
1.0.8 #
- Bugs fixed for the
onChangedproperty.
1.0.7 #
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.
1.0.6 #
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.
1.0.5 #
- Added focusedBorder property.
1.0.1 #
- Documentation added.
1.0.0 #
- 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.