How to add a placeholder text into TextField or TextFormField

This Article is posted by seven.srikanth at 7/28/2018 4:57:19 AM

In flutter you have two different types of text fields, TextField and TextFormField. Inorder to get a Text inside the TextFIeld or TextFormField, you need to modify your code as below. For TextField, For TextFormField, 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-line;](
Tags: How to add a placeholder text into TextField or TextFormField in Flutter;



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