title: Change size of text according to screen width in Flutter
body: <p>I want the text size to remain the same however i want it to be bigger when on a larger screen width device.</p>
  
  <pre><code>MediaQueryData queryData;
  
    @override
    Widget build(BuildContext context) {
      queryData = MediaQuery.of(context);
      Text("Hello.",
          style: TextStyle(
          fontSize: queryData.size.width, color: Colors.white),
   ),
  
  }
  </code></pre>
  
  <p>However, it became so big when i tried queryData.size.width. in this case i want the text to expand according to different devices screens. </p>
  
  <p><a href="https://i.stack.imgur.com/ZjL3W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZjL3W.png" alt="left: ipad, right: iphone X"></a></p>