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

Discord Medium LinkedIn Twitter

Top Flutter PIN, OTP and Password Field packages

Last updated: April 2, 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.44K
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

pin_code_fields Card Image
pin_code_fields
Dart 3 compatible 👍 2.05K
Maintenance Status: Good

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

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

Flutter plugin to provide SMS code autofill support

otp_autofill
Dart 3 compatible 👍 194
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_pw_validator Card Image
flutter_pw_validator
Dart 3 compatible 👍 156
Maintenance Status: Good

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

otp
Dart 3 compatible 👍 152
Maintenance Status: Good

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

flutter_verification_code Card Image
flutter_verification_code
Dart 3 compatible 👍 143
Maintenance Status: Good

A Flutter package that help you create a verification input.

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

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

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

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

smart_auth Card Image
smart_auth
Dart 3 compatible 👍 81
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 👍 71
Maintenance Status: Good

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

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

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

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_pin_code_fields Card Image
flutter_pin_code_fields
Dart 3 compatible 👍 25
Maintenance Status: Good

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

otp_pin_field Card Image
otp_pin_field
Dart 3 compatible 👍 23
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.

otp_text_field Card Image
otp_text_field
Dart 3 compatible 👍 253
Maintenance Status: Average

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

pin_code_text_field
Dart 3 compatible 👍 157
Maintenance Status: Poor

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

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.

password_strength
Dart 3 compatible 👍 111
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.

sms_user_consent
Dart 3 compatible 👍 83
Maintenance Status: Poor

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

sms_otp_auto_verify
Dart 3 compatible 👍 82
Maintenance Status: Poor

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.

alt_sms_autofill
Dart 3 compatible 👍 56
Maintenance Status: Poor

Alt Sms Autofill.

password_validated_field
Dart 3 compatible 👍 48
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 👍 46
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
👍 45
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.