How to focus textfield as soon as app starts?

This Question is posted by seven.srikanth at 1/3/2020 4:23:00 AM

In flutter, you can achieve this by adding autofocus: true to your TextField. color: rgb(212, 212, 212); background-color: rgb(30, 30, 30); font-family: Consolas, "Courier New", monospace; font-size: 14px; line-height: 19px; white-space: pre-wrap;](color: #4ec9b0;](TextField( autofocus: color: #569cd6;](true,) Hope this is helpful to you. Thanks.

Tags: focus textfield



0 Comments
Login to comment.
Recent Comments

Be the first to Comment. You can ask a Query or Share your toughts or Just say thanks.




© 2018 - Fluttercentral | Email to me - Seven.srikanth@gmail.com