Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeotp_autofill

Android and iOS OTP autofill plugin using SMS User Consent and Retriever APIs.

pub.devRemove
pin_code_fields

A customizable PIN and OTP input field widget for Flutter with headless core and Material support.

pub.devRemove
ScoresHealth5093 (best)
Maintenance3100 (best)
Quality9197 (best)
Popularity8198 (best)
Community80 (best)63
Compatibility73100 (best)
UsageDownloads (30 days)33k451k (best)
Likes2932.4k (best)
Pub points140 / 160160 / 160 (best)
GitHub stars113794 (best)
MaintenanceLatest release4.1.0, 2 years ago10.1.2, yesterday (best)
Major versions in 12 months0 (best)1
Contributors19 (best)5
Publishersurf.rutheadar.xyz
FitPlatformsAndroid, iOSAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyNoYes
KindPlugin (native code)Flutter widgets
Code generationNoNo
Direct dependencies0 (best)2
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Supports both SMS User Consent API and SMS Retriever API on Android.
  • Includes helper classes like OTPTextEditController and OTPInteractor for quick implementation.
  • Allows custom strategies (e.g., push notifications or testing).
  • Supports headless architecture for complete UI customization freedom.
  • Built-in error handling with shake animations and form integration.
  • Comprehensive styling options including text gradients, custom cursors, and obscure characters.
Weaknesses
  • Requires manual setup of native minimum SDK version on Android.
  • Relies on parsing SMS text formats correctly via regular expressions.
  • Version 10.x requires migration to the decoupled material_ui package.
  • Tightly coupled to specific design system package requirements.
Warnings
  • Native setup
None
otp_autofill vs pin_code_fields: which Flutter package should you use? | pubscout