how to focus the next text field automatically after user input 1 character

55 views
Skip to first unread message

You Sour

unread,
Jun 25, 2021, 9:16:31 AM6/25/21
to Flutter Development (flutter-dev)
hi, i'm doing verify code and i don't know how to focus the next text field automatically after user input 1 character in the text field ? anyone know pls share ? thank in advance  Screenshot from 2021-06-25 20-00-17.png

Dipak Prajapati

unread,
Jul 14, 2021, 10:38:00 AM7/14/21
to Flutter Development (flutter-dev)
you can use  pin_code_text_field or  pin_code_fields  packages,

if you not prefer to use package then
set max length =1 and on submit request focus to node which is given to next TextField,

Reply all
Reply to author
Forward
0 new messages