kr_otp 1.0.16
kr_otp: ^1.0.16 copied to clipboard
A customizable OTP input field with an optional numeric keypad for Flutter.
Changelog #
All notable changes to this project will be documented in this file.
1.0.16 2026-9-11 #
- A key's letters now scale down to fit instead of ellipsizing, so a tight key shows "WXYZ" slightly smaller rather than "WX...".
1.0.15 2026-9-11 #
- Fix
KrOtpKeyboardsilently dropping keypresses while typing quickly. Keys now fire on pointer down, so a press is no longer lost when the finger slides past the touch slop or when a second finger lands on a key that is already being tracked. - Fix a keypad key overflowing when the caller supplies larger text styles than the key fits; the letters now ellipsize instead.
- Check for a vibrator once instead of on every keystroke.
1.0.14 2026-9-11 #
- Fix
OtpInputFieldoverflowing on narrow screens. The digit boxes now share the available width and shrink to fit instead of overflowing. - Fix
OtpController.shake()resetting the field to 6 digits, ignoring the configuredlength.
1.0.13 2025-4-30 #
- Refactoring
1.0.12 2025-4-30 #
- Update motion_toast package to latest version
1.0.11 2025-4-30 #
- Update vibration package to latest version
1.0.10 - 2024-11-21 #
- Add physical keys support to Keyboard widget (need focus node).
1.0.9 - 2024-10-10 #
- Upgrade dependencies
1.0.8 - 2024-05-26 #
- Add
secondaryColorto theOtpInputFieldto make it more customizable.
1.0.7 - 2024-04-24 #
- Add
onKeyPressedto theKrOtpKeyboardto use it independently of theOtpInputField. - extract the
shakemethod in theOtpControllerto maunually shake theOtpInputField.
1.0.6 - 2024-04-11 #
- Update Example and README.md file
1.0.0 - 2024-04-11 #
- Initial release of
kr_otp. - Added
OtpInputFieldclass. - Introduced
KrOtpKeyboard. - Provided example in the
exampledirectory.
