Overview
A Flutter package that provides a customizable OTP Text Field widget for easy input of one-time passwords. It supports seamless navigation between input fields, automatic focus management, and a clean, modern design. Ideal for authentication flows requiring 4 to 8 digit codes. The package is lightweight, well-documented, and compatible across all major platforms including Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- User login with OTP
- Two-factor authentication
- Account verification
- Passwordless sign-in
- Secure form inputs
- Code entry in onboarding flows
Key features
- Auto-focus between fields
- Customizable text field size
- Supports 4–8 digit codes
- Cross-platform compatibility
- Simple API integration
- On-screen keyboard handling
Suitable for
- Authentication screens
- Mobile app onboarding
- Secure login workflows
- Multi-platform apps
- Developers seeking simple OTP input
Considerations
- Limited customization beyond basic styling
- No built-in validation logic
- Requires manual handling of submission
- Not designed for dynamic code lengths
- No support for non-numeric input
