Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepin_input_text_field

A customisable TextField widget to display and input PIN codes in Flutter.

pub.devRemove
pinput

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

pub.devRemove
ScoresHealth8892 (best)
Maintenance8387 (best)
Quality9697 (best)
Popularity8599 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)251k627k (best)
Likes1603.5k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars393859 (best)
MaintenanceLatest release4.5.3, 3 months ago7.0.0, 7 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors1024 (best)
Publishertinocheng.apptornike.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies0 (best)2
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Pure Dart with no extra dependencies.
  • Supports multiple built-in pin styles like UnderlineDecoration, BoxLooseDecoration, BoxTightDecoration, and CircleDecoration.
  • Supports all platforms supported by Flutter.
  • 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
  • The PinEditingController listener may execute more than once when programmatically setting text.
  • Some onSubmit callbacks might not work consistently on Android.
  • 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
pin_input_text_field vs pinput: which Flutter package should you use? | pubscout