How to wrap the hint text in a text field in Flutter?

Posted by Jennifer | Updated on

How to wrap the hint text in a text field in Flutter?

Using maxlines didn’t work for me (for Flutter Web), but until the text automatically wraps I’m adding \n where I want it to break.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers