skip to Main Content

Size of text in Flutter

I need the texts to always be the same size regardless of the device settings. I have tried using these codes but without success: in the Widget Text: fontSize: 20 * MediaQuery.textScaleFactorOf(context) fontSize: 20 * MediaQuery.of(context).textScaleFactor textScaleFactor or: MediaQueryData =…

VIEW QUESTION
Back To Top
Search