flutter_otp_kit 1.0.0
flutter_otp_kit: ^1.0.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.0.0 - 2024-12-19 #
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