flutter_otp_kit 1.1.0 copy "flutter_otp_kit: ^1.1.0" to clipboard
flutter_otp_kit: ^1.1.0 copied to clipboard

A comprehensive Flutter package for OTP (One-Time Password) verification with customizable styling, localization support, and robust functionality.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.0 - 2025-09-10 #

Added #

  • Multiple input types support: numeric, alphabetic, alphanumeric, and custom
  • Paste support: Automatically detect and fill OTP from clipboard
  • Custom input formatters: Support for custom TextInputFormatter
  • Custom validators: Add your own validation logic
  • Enhanced callbacks: onChanged and onCompleted callbacks
  • Animation support: Fade and scale animations with customizable duration and curves
  • Enhanced error handling: Custom error messages and styling
  • Accessibility features: Semantic labels for better screen reader support
  • Secure OTP mode: Obscure text option for sensitive inputs
  • Advanced styling options:
    • Focused border color
    • Error border color
    • Filled field background color
    • Cursor color customization
    • Shadow effects with customizable color, blur, and spread
  • Theme support: Automatic adaptation to light/dark themes
  • Conditional timer display: Show/hide timer based on needs
  • Custom keyboard types: Support for different keyboard configurations
  • Text capitalization: Control text capitalization behavior
  • Interactive selection: Enable/disable text selection

Enhanced #

  • Example app now showcases all new features with 5 different examples
  • Better error state management with visual feedback
  • Improved focus management and navigation
  • More robust paste detection and validation

1.0.3 - 2025-09-07 #

Fixed #

  • Updated flutter_platform_widgets dependency to latest version (^9.0.0)
  • Added missing documentation for OtpVerificationWidget constructor
  • Made OtpVerificationWidgetState class public for external access
  • Fixed example app compilation and functionality issues

Added #

  • Complete example app demonstrating package usage
  • Interactive controls for testing clearOtp() and setOtp() methods
  • Professional README with TL;DR and How it works sections
  • Example README with detailed usage instructions
  • Phone and email OTP verification examples
  • Real-time verification feedback in example app

Improved #

  • Enhanced documentation structure to match professional package standards
  • Better example app with Material Design 3
  • More comprehensive package information display
  • Improved code quality and maintainability

1.0.2 - 2025-09-06 #

Added #

  • Initial release of Flutter OTP Kit
  • Comprehensive OTP verification widget with customizable styling
  • Support for 4, 5, 6, or any number of OTP digits
  • Timer functionality with countdown
  • Contact masking for phone numbers and email addresses
  • Cross-platform support (iOS, Android, Web, Desktop)
  • Full localization support
  • Accessibility features
  • Custom styling options for colors, dimensions, and spacing
  • Form validation support
  • Smart focus management between input fields
  • Custom button widget support
  • Public methods for clearing and setting OTP values

Features #

  • Configurable field count: Support for any number of digits
  • Fully localizable: All text provided by caller (no hardcoded strings)
  • Smart focus management: Auto-navigation between fields during input
  • Timer functionality: Countdown timer with customizable duration
  • Validation support: Optional form validation with error handling
  • Cross-platform: Works seamlessly on iOS, Android, Web, and Desktop
  • Customizable styling: Colors, dimensions, spacing all configurable
  • Accessibility ready: Proper focus handling and keyboard navigation
  • Contact masking: Automatic phone/email masking for privacy
35
likes
0
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter package for OTP (One-Time Password) verification with customizable styling, localization support, and robust functionality.

Repository (GitHub)
View/report issues

Topics

#flutter #otp #verification #ui #widget

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, flutter_platform_widgets

More

Packages that depend on flutter_otp_kit