otpin 0.1.0
otpin: ^0.1.0 copied to clipboard
A beautifully animated, customizable OTP input widget for Flutter. Ships with Orbital and Cascade visual styles — each with rich animations for empty, typing, verifying, success, and error states. Zer [...]
Changelog #
0.1.0 #
- Initial release of OTPin.
- Orbital Style — Digit fields orbit in a circle during verification, converge to a success icon on success, and shake on error.
- Cascade Style — Cascading wave animation during verification, fields morph into a unified capsule on success, and staggered domino shake on error.
- Strategy Pattern — Clean architecture that decouples visual styles from input logic.
- Full Customization — Colors, border radii, sizes, animations, text styles, and success display are all configurable.
- Programmatic Control —
OTPinControllerfor setting, clearing, and manually triggering states. - Zero Dependencies — Built entirely with Flutter's built-in animation primitives.