flutter_otp_widget 1.0.1 copy "flutter_otp_widget: ^1.0.1" to clipboard
flutter_otp_widget: ^1.0.1 copied to clipboard

A highly customizable OTP (One-Time Password) text field widget for Flutter with support for multiple styles, themes, and input types.

Changelog #

1.0.1 #

Improvements #

  • Enhanced example app with manual clear functionality and better focus management

1.0.0 #

Initial Release #

Features

  • Multiple Field Styles: Box, underline, and circle styles
  • Flexible Input Types: Support for numbers, text, and alphanumeric input
  • Theming System: Light, dark, and fully customizable themes
  • State Management: Error states, disabled states, and focus management
  • Secure Input: Password/PIN mode with obscured text
  • Keyboard Navigation: Arrow keys and backspace navigation between fields
  • Auto Focus: Optional automatic focus on first field
  • Customizable Layout: Adjustable field sizes, spacing, and center gaps
  • Text Formatting: Text capitalization options
  • Cursor Customization: Control cursor appearance (color, size, visibility)
  • Callbacks: onChange and onCompleted event handlers

Components

  • OTPTextField: Main widget for OTP input
  • OTPTheme: Theme configuration class
  • OTPFieldStyle: Enum for field visual styles
  • OTPInputType: Enum for input type control
0
likes
160
points
116
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A highly customizable OTP (One-Time Password) text field widget for Flutter with support for multiple styles, themes, and input types.

Repository (GitHub)
View/report issues

Topics

#otp #textfield #pin #verification #authentication

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_otp_widget