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
pinput

Customizable animated PIN and OTP code input widget with autofill support.

pub.devRemove
ScoresHealth5092 (best)
Maintenance387 (best)
Quality9197 (best)
Popularity8199 (best)
Community8080
Compatibility73100 (best)
UsageDownloads (30 days)32k627k (best)
Likes2933.5k (best)
Pub points140 / 160160 / 160 (best)
GitHub stars113859 (best)
MaintenanceLatest release4.1.0, 2 years ago7.0.0, 7 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors1924 (best)
Publishersurf.rutornike.dev
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).
  • Extensively customizable with separate themes for default, focused, submitted, and error states.
  • Supports iOS native autofill out of the box and integrates smoothly with Android SMS APIs.
  • Includes built-in Form validation, custom cursors, obscuring widgets, and haptic feedback.
Weaknesses
  • Requires manual setup of native minimum SDK version on Android.
  • Relies on parsing SMS text formats correctly via regular expressions.
  • Android SMS autofill requires external packages (like smart_auth) or custom Firebase Auth handling rather than working out of the box.
  • Breaking change in version 7.0.0 migrated to material_ui, requiring newer Flutter and Dart SDK versions.
Warnings
  • Native setup
None
otp_autofill vs pinput: which Flutter package should you use? | pubscout