Flutter Text field cursor doesn’t go down after a new line creation

Posted by Editorial Staff | Updated on

Flutter Text field cursor doesn’t go down after a new line creation. The _paintCaret method in /lib/src/rendering/editable.dart has to be modified and the maxLines parameter in the textField has to be null. It worked for me, hoping to be a temp workaround.


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