premium_otp_input 0.5.1
premium_otp_input: ^0.5.1 copied to clipboard
A highly customizable, beautiful, and interactive OTP and PIN entry widget for Flutter featuring Blob, Sigil, Nexus, Lightning, Liquid, and Motion animations.
0.5.1 #
- App Lifecycle Resilience: Added
OtpFocusKeeperto ensure OTP input state and platform text-input connection survive background round trips (e.g. switching to SMS app to copy code or Android autofill clearing). - Keyboard Reconnection: Automatic focus node bouncing and keyboard restoration when tapping OTP fields after returning from background.
- Text Retention: Automatic capture and restoration of entered digits if cleared during background state changes.
0.5.0 #
- New Feature: Added
BlobOtpVerificationViewandBlobOtpInput— an interactive arcade mascot style featuring a chomping blob that hatches from the first slot, opens its mouth to eat each entered digit, slides across the row, and morphs into a green verified checkmark badge with particle effects. - Custom Widget Builders: Added
slotBuildertoPremiumOtpInput, andheaderBuilder,footerBuilder, andresendButtonBuilderacross all 6 verification views (Blob,Nexus,Lightning,Liquid,Motion,Sigil). - New Feature: Added
CustomOtpVerificationViewwidget for building fully custom verification screen layouts. - Font Independence: Removed hardcoded
google_fontsdependency. Every widget now accepts standardTextStyleoverrides and falls back to defaultTextStyle(). - Screenshots: Added high-resolution Blob Mascot Arcade screenshot assets to the package screenshots repository.
0.4.0 #
- New Feature: Added
SigilOtpVerificationViewandSigilOtpInput— a cosmic arc flow style featuring glowing slots, cosmic arc loading animations, integrated resend timers, and autofill suggestion toasts. - Neural Lattice Loading: Upgraded
NexusOtpVerificationViewandNexusOtpInputso input nodes expand into an interconnected 2x2 neural laser lattice during verification with zero pop-back or jitter before collapsing to success checkmark. - Theme Adaptation: Added universal
isDarksupport across all OTP views (Sigil,Nexus,Liquid,Motion,Lightning) with background luminance auto-detection. - Full Text & Style Control: 100% of text strings (
title,subtitle,resendHint,resendLabel,verifyingLabel,verifiedLabel, etc.) and correspondingTextStyleoverrides are now fully parameterizable. - Showcase App: Redesigned example app with interactive style tabs, demo code badges, global theme toggle, and standard customizer controls.
0.3.0 #
- New Feature: Added
NexusOtpVerificationViewandNexusOtpInput— a dark sheet style where the lit node rests on its own halo, arcs lap every node while the code is checked, and on success the nodes break out of the row into a two-row lattice, wire themselves together, then collapse into one node that bursts into shards around a check mark. - New Feature: Exposed the nexus painters (
NexusNodePainter,NexusLinkPainter,NexusBurstPainter,NexusCheckPainter),NexusOtpBoxandNexusParticlefor custom layouts. - Theming: Nexus colors and text styles fall back to the nearest
OtpThemebefore their dark defaults. - Example: Added a Nexus tab to the example app.
0.2.0 #
- New Feature: Added
LightningOtpVerificationViewandLightningOtpInput— an electric style where each entered digit ignites its box with a burning, flickering outline, bolts bridge adjacent filled boxes, a spark runs around the outlines while verifying, and the boxes merge into a single glowing verified box on success. - New Feature: Exposed the lightning painters (
LightningBorderPainter,LightningLinkPainter,LightningCheckPainter) andLightningOtpBox/LightningOtpLinkfor custom layouts. - Example: Added a Lightning tab to the example app and reworked the style selector so it wraps on narrow screens.
0.1.0 #
- New Feature: Added
LiquidOtpVerificationViewwith dynamic water-wave fill animations for a playful experience. - New Feature: Added
MotionOtpVerificationViewfeaturing an elegant, Instagram-style scattered-orbit loading choreography and pulsing success ring. - Documentation: Massively updated README with new visual previews, usage examples, and detailed explanations of the 3 available styles.
0.0.4 #
- Add comprehensive public API documentation comments (
///) to enums, classes, constructor, and fields. - Create a feature-rich, interactive
example/project showing all dynamic states, customization features, and transitions. - Clean up static analysis warnings (e.g. redundant const warnings) and update deprecated methods in the example app to modern specs.
0.0.3 #
- Update README.md preview image syntax to use standard Markdown with absolute raw GitHub URLs.
- Re-organize preview screenshots into a top-level screenshots folder.
- Add YouTube Shorts demo thumbnail video preview.
- Remove assets section from pubspec.yaml.
0.0.2 #
- Add YouTube Shorts showcase link to README.md.
- Declare assets directory in pubspec.yaml for package resources.
0.0.1 #
- Initial release of Premium OTP Input package.
- Highly customizable OTP/PIN fields with animations, active border highlight, and box focus scaling.
- Customizable animation styles for digit entry and success screen transitions.
- Secure character obscuring/masking (obscure text) with custom characters.