premium_otp_input 0.5.1 copy "premium_otp_input: ^0.5.1" to clipboard
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 OtpFocusKeeper to 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 BlobOtpVerificationView and BlobOtpInput — 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 slotBuilder to PremiumOtpInput, and headerBuilder, footerBuilder, and resendButtonBuilder across all 6 verification views (Blob, Nexus, Lightning, Liquid, Motion, Sigil).
  • New Feature: Added CustomOtpVerificationView widget for building fully custom verification screen layouts.
  • Font Independence: Removed hardcoded google_fonts dependency. Every widget now accepts standard TextStyle overrides and falls back to default TextStyle().
  • Screenshots: Added high-resolution Blob Mascot Arcade screenshot assets to the package screenshots repository.

0.4.0 #

  • New Feature: Added SigilOtpVerificationView and SigilOtpInput — a cosmic arc flow style featuring glowing slots, cosmic arc loading animations, integrated resend timers, and autofill suggestion toasts.
  • Neural Lattice Loading: Upgraded NexusOtpVerificationView and NexusOtpInput so 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 isDark support 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 corresponding TextStyle overrides 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 NexusOtpVerificationView and NexusOtpInput — 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), NexusOtpBox and NexusParticle for custom layouts.
  • Theming: Nexus colors and text styles fall back to the nearest OtpTheme before their dark defaults.
  • Example: Added a Nexus tab to the example app.

0.2.0 #

  • New Feature: Added LightningOtpVerificationView and LightningOtpInput — 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) and LightningOtpBox / LightningOtpLink for 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 LiquidOtpVerificationView with dynamic water-wave fill animations for a playful experience.
  • New Feature: Added MotionOtpVerificationView featuring 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.
10
likes
160
points
305
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A highly customizable, beautiful, and interactive OTP and PIN entry widget for Flutter featuring Blob, Sigil, Nexus, Lightning, Liquid, and Motion animations.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on premium_otp_input