FLUTTER ECOSYSTEM

pinput

Pin code input (OTP) text field, iOS SMS autofill, Android SMS autofill One Time Code, Password, Passcode, Captcha, Security, Coupon, Wowcher, 2FA, Two step verification

pinput cover
Latest version
6.0.2
30-day downloads
450.4K
Likes
3.5K
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Pinput is a Flutter package for creating sleek, customizable PIN code, OTP, password, and passcode input fields. It supports iOS and Android SMS autofill for One Time Codes, enhancing user experience during 2FA, two-step verification, or coupon entry. Designed with clean UI and intuitive gestures, it works across all major platforms including Web, macOS, Windows, and Linux. The package offers smooth transitions, validation, and easy integration into authentication flows.

Use cases
  • Two-factor authentication
  • Coupon or promo code entry
  • Security passcode input
  • Captcha verification
  • OTP login flows
  • Password recovery
Key features
  • iOS and Android SMS autofill support
  • Customizable design and styling
  • Cross-platform compatibility
  • Auto-focus between fields
  • Built-in validation utilities
  • Smooth animations
Suitable for
  • Authentication screens
  • Secure login interfaces
  • E-commerce checkout forms
  • User onboarding flows
  • Mobile app security features
Considerations
  • Requires manual handling of OTP submission logic
  • Limited built-in error feedback
  • May need additional state management for complex workflows
  • Not optimized for very long input sequences
  • No built-in biometric integration
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add pinput

Categories

Source repository

Related projects

Rankings