title: (Flutter) How do I prevent Android device Display size scaling in my app?
body: <p>(Flutter) How do I prevent Android device Display size scaling in my app?</p>
  <p>I use MediaQuery to lock the font size.</p>
  <pre><code>builder: (context, child) {
    return MediaQuery(
      child: child!,
      data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0),
    );
  },
  </code></pre>
  <p><a href="https://i.stack.imgur.com/wjPjr.jpg" rel="nofollow noreferrer">pic</a></p>
  <p>However, there is a setting called &quot;Display Size&quot; in the Android phone.</p>
  <p>This setting scales my flutter App and make the content out of bound.</p>
  <p>How do I prevent it?</p>