How to align text of TextFormField to center, vertical in Flutter?

Posted by Andre Scott | Updated on

Want to align text of TextFormField to center, vertical in Flutter? there is no vertical align option for that. all you need to do is to set contentPadding for positioning:


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