How to use MediaQuery to set scaleFactor for text in Flutter?

Posted by Jennifer | Updated on

If you want to use MediaQuery to set scaleFactor for text in Flutter? You can solve your issue wrapping your Text widget into a Flexible to avoid the overflow. I put maxLines 1 to see the Fade overflow:


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