Tkko / Flutter_Pinput

Flutter package to create Pin code input text field with every pixel customization possibility 🎨 with beautiful animations, iOS autofill, Android autofill
https://pub.dev/packages/pinput
MIT License
757 stars 175 forks source link

Add support for multi-row inputs #173

Open hanskokx opened 6 months ago

hanskokx commented 6 months ago

Is your feature request related to a problem? Please describe. My PIN is 12-digits. When I try to implement pinput with that many fields, the fields are too small.

Describe the solution you'd like I would like to be able to specify how many pinput inputs I'd like per row and let inputs wrap to new rows.

Describe alternatives you've considered I've considered forking the package and implementing this myself.

hanskokx commented 6 months ago

I've started trying to implement the logic here but I'm having a strange issue where multiple inputs think they're being selected at the same time (and I can't change the item index for items on the second row). I'll keep poking at it but some developer input would be greatly appreciated.