Flutter Gems is a curated list of 6000+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn Twitter

Top Flutter PIN, OTP and Password Field packages

Last updated: December 4, 2024

Often user verification or transaction verification is required for payments or in banking, finance and fintech apps. For verification, the user is required to enter a:

  • PIN: A four-digit numerical code used to verify the identity of the user. This code is only known to the user and can be entered via number pad.
  • One-time password (OTP): It is a type of password that is only valid for single use. OTPs are often used as an extra layer of security for online accounts, as they are much more difficult to guess than a traditional password. OTPs are typically generated by an authentication app or a hardware token, and are entered into a OTP field.
  • Password: A custom password set by the user.

The complete list of Flutter packages that provide customized fields and autofill utilities to enter PIN, SMS code, Password or OTP in your Flutter app is provided below.


pinput Card Image
pinput
Dart 3 compatible 👍 2.95K
Maintenance Status: Good

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

sms_autofill Card Image
sms_autofill
Dart 3 compatible 👍 821
Maintenance Status: Good

Flutter plugin to provide SMS code autofill support

otp_autofill
Dart 3 compatible 👍 242
Maintenance Status: Good

Android implementation of OTP autofill with using User Consent API and Retriever API. Add possibility to receive OTP code from another input.

flutter_otp_text_field Card Image
flutter_otp_text_field
Dart 3 compatible 👍 194
Maintenance Status: Good

Fully customizable OTP Entry TextField for flutter, Widget accepts pin of any length. Its written in pure dart, no extra dependency.

pin_input_text_field Card Image
pin_input_text_field
Dart 3 compatible 👍 146
Maintenance Status: Good

A textField widget to help display different style pin written in pure dart, no extra dependency.

smart_auth Card Image
smart_auth
Dart 3 compatible 👍 116
Maintenance Status: Good

Wrapper of Android SMS User Consent API, SMS Retriever API to read one time sms code, get/save/delete user phone number, OTP, OTC, sms autofill, android autofill

fancy_password_field Card Image
fancy_password_field
Dart 3 compatible 👍 91
Maintenance Status: Good

A highly customizable password control input widget. It has features such as password strenght and rules validation

sms_otp_auto_verify Card Image
sms_otp_auto_verify
Dart 3 compatible 👍 90
Maintenance Status: Good

A new Flutter plugin to enter a digit code usually in cases of Sms Otp Code. and provide SMS Auto Fill using library SMS Retriever API.

custom_pin_screen Card Image
custom_pin_screen
Dart 3 compatible 👍 46
Maintenance Status: Good

A flutter package to add screens with custom keyboards and pins to your mobile application.

password_strength_checker Card Image
password_strength_checker
Dart 3 compatible 👍 36
Maintenance Status: Good

Generate secure passwords, check for exposed passwords, get visual feedback for strength or get form validation with a minimum password strength required.

otp_pin_field Card Image
otp_pin_field
Dart 3 compatible 👍 34
Maintenance Status: Good

A flutter package which will help you to generate pin code fields with beautiful design and animations. Can be useful for OTP or pin code inputs.

flutter_pin_code_widget Card Image
flutter_pin_code_widget
Dart 3 compatible 👍 27
Maintenance Status: Good

PIN Code wiget for creating and checking local pin code with flexible settings.

flutter_verification_code_field Card Image
flutter_verification_code_field
Dart 3 compatible 👍 26
Maintenance Status: Good

Flutter verification code input. Primarily used for entering or pasting OTP codes from authorization emails or messages.

verification_code_field Card Image
verification_code_field
Dart 3 compatible 👍 7
Maintenance Status: Good

This package provides an input field that allows you to enter a 4, 5 or 6 digit verification code in your applications.

pin_code_fields Card Image
pin_code_fields
Dart 3 compatible 👍 2.23K
Maintenance Status: Average

A flutter package which will help you to generate pin code fields. Can be useful for OTP for example.

otp
Dart 3 compatible 👍 173
Maintenance Status: Average

RFC6238 Time-Based One-Time Password / Google Authenticator Library

flutter_pw_validator Card Image
flutter_pw_validator
Dart 3 compatible 👍 164
Maintenance Status: Average

Flutter Pw Validator package helps you to validate sign in user-entered password with your rules.

flutter_verification_code Card Image
flutter_verification_code
Dart 3 compatible 👍 156
Maintenance Status: Average

A Flutter package that help you create a verification input.

flutter_dynamic_otp
Dart 3 compatible 👍 33
Maintenance Status: Average

Flutter package that provides a customizable OTP (One-Time Password)

flutter_pin_code_fields Card Image
flutter_pin_code_fields
Dart 3 compatible 👍 27
Maintenance Status: Average

A flutter package which will help you generate customizable pin code fields. Can be used for login pins or OTP.

otp_text_field
Dart 3 compatible 👍 273
Maintenance Status: Poor

A flutter package to create a OTP Text Field widget in your application.

pin_code_text_field
Dart 3 compatible 👍 159
Maintenance Status: Poor

A beautiful and highly customisable Flutter widget for entering pin code. Suitable for use cases such as login and OTP.

password_strength
Dart 3 compatible 👍 116
Maintenance Status: Poor

A password strength estimator. Can be used to show the user whether the password they chose is strong against bruteforce or dictionary attacks.

passcode_screen
Dart 3 compatible 👍 113
Maintenance Status: Poor

A platform agnostic Flutter package for showing passcode input screen, similar to Native iOS. Screen customizable with a colors, sizes, fonts etc.

sms_user_consent
Dart 3 compatible 👍 84
Maintenance Status: Poor

Request user's phone number (supports dual sim) and/or consent to read SMS without adding any permissions

alt_sms_autofill
Dart 3 compatible 👍 57
Maintenance Status: Poor

Alt Sms Autofill.

password_validated_field
Dart 3 compatible 👍 52
Maintenance Status: Poor

With this package you can have a nice, cool and validated password text fields in your application.

random_password_generator
Dart 3 compatible 👍 47
Maintenance Status: Poor

A new Flutter package which help generate strong password for online accounts and password strength estimator for Dart.

flutter_password_strength
Dart 3 compatible 👍 44
Maintenance Status: Poor

A password strength checker for flutter, works for Android and iOS.

code_input
Dart 3 compatible 👍 9
Maintenance Status: Poor

Flutter Code Input Widget

flutter_otp
👍 85
Maintenance Status: Poor

A Flutter package for sending and validating OTP. Four digit OTP (customizable) is sent as a SMS to the given phone number (and country code).

flutter_lock_screen
👍 48
Maintenance Status: Poor

Flutter Pass Code Page Screen.

pin_entry_text_field
👍 35
Maintenance Status: Poor

Fully customizable Pin Entry TextField for flutter, This widget accepts pin of any length and it detects the entry of the last pin.

otp_screen
👍 29
Maintenance Status: Poor

A new Flutter package which helps developer in creating Otp screen with few lines of code.