How to add digit only TextFormField in Flutter?

Posted by Andre Scott | Updated on

Want to add digit only TextFormField in Flutter? Yes, you can use the inputFormatters attribute and add the WhitelistingTextInputFormatter.digitsOnly expression.


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