Multi-line Textfield in flutter

Posted by Pinki | Updated on | Flutter

Multi-line Textfield in flutter. If you want that your TextInputField should adapt to the user input then do this:

Here set the max lines to whatever you want and you are good to go. In my opinion setting the maxlines to null is not a good choice we should set it to some value.

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

Related Questions & Answers