Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_otp_text_field

Fully customizable OTP entry text field widget supporting any pin length.

pub.devRemove
pinput

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

pub.devRemove
ScoresHealth5792 (best)
Maintenance587 (best)
Quality9697 (best)
Popularity4499 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)847627k (best)
Likes2393.5k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars64859 (best)
MaintenanceLatest release1.5.1+1, 2 years ago7.0.0, 7 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors824 (best)
Publisherdavidcobbina.comtornike.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies0 (best)2
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Pure Dart with no extra dependencies
  • Supports custom input decorations and text styles for individual fields
  • Built-in support for pasting OTP codes and clearing text
  • 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
  • Limited to OTP and pin entry use cases
  • No built-in animation system mentioned beyond basic states
  • 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
flutter_otp_text_field vs pinput: which Flutter package should you use? | pubscout