Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeotp_text_field

A Flutter widget to create customizable OTP and PIN input fields.

pub.devRemove
pinput

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

pub.devRemove
ScoresHealth7592 (best)
Maintenance5987 (best)
Quality9697 (best)
Popularity8299 (best)
Community4680 (best)
Compatibility100100
UsageDownloads (30 days)35k627k (best)
Likes2783.5k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars133859 (best)
MaintenanceLatest release1.1.5, 3 months ago7.0.0, 7 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors224 (best)
Publishervivekkaushik.comtornike.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies0 (best)2
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports quick paste and controller management.
  • Customizable field appearance (underline, box style, colors, background color).
  • Handles backspace navigation between fields automatically.
  • 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
  • Field layout is always left-to-right, which may impact right-to-left localization requirements.
  • 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.
WarningsNoneNone
otp_text_field vs pinput: which Flutter package should you use? | pubscout