LiewJunTung / pin_code_text_field

A highly customisable Flutter widget for entering pin code. Suitable for use cases such as login and OTP.
MIT License
376 stars 78 forks source link

Change specific cell input value #24

Closed tigrenok00 closed 4 years ago

tigrenok00 commented 5 years ago

Hi, The only way to change the entered values is to use clear button, as it seems. Is there an option to change value of specific cell when clicked? (Click a cell, show it as selected, override value by typing a new number, and shift the focus to the next cell). Thanks!

creativeaura commented 5 years ago

@tigrenok00

You can use the controller to change the value or clear the fields programmatically.

controller.text = ""

LiewJunTung commented 4 years ago

Unfortunately, I won't be featuring this particular feature. It tends to mess with the focus and animation. But if you do have a solution, please do a pull request! I'll close this for now.