Flutter_Pinput
Flutter_Pinput copied to clipboard
Would it be posible to show typed value for x time before obscuring text?
Hey there!
I was wondering if it would be possible to show the typed value for some amount of time before obscuring it? Similar to how regular TextFields handle obscured text.
Current behavior:
- PinPut with obscureText = '*'
- user types character
- character is obscured
Requested behavior:
- PinPut with obscureText = '*'
- user types a character
- character is shown for 1s
- Then it obscures itself
I think this could be a really good feature to have, maybe opt-in. This way the user can see if an incorrect character has been entered.
I wouldn't mind filing a PR if the feature is accepted, just let me know!
Cheers
Has this been implemented yet?
@mathiasgodwin Not yet 🤠, PR's are welcomed
That functionality provided by TextFormField
not by EditableText
.
Yup, that's the case. Any idea on how we could implement this without much work? Or is it even possible with the current implementation? Could we change EditableText to TextFormField or TextField?