telegram_animated_otp_field 1.0.0
telegram_animated_otp_field: ^1.0.0 copied to clipboard
A highly customizable, animated OTP input field for Flutter with smooth digit-entry animations similar to Telegram, shake feedback, haptic response, and built-in validation states.
1.0.0 #
Added #
AnimatedOtpFieldwidget with animated pin boxes for OTP input.- Bounce-in animation on digit entry.
- Blinking cursor with customizable appearance.
- Shake animation and haptic feedback on invalid OTP.
- Sequential scale-pulse animation on valid OTP.
- Client-side validation via
isOtpValidcallback. - Server-side validation via
AnimatedOtpFieldState.validateOtp(). - Customizable
BoxDecorationfor default, focused, error, and valid states. - Slide-in validation error message.
- Autofill support with
oneTimeCodehint. - RTL layout support.
- Comprehensive dartdoc documentation.
- Comprehensive widget test coverage for logic and validations.
- Full example application.