title: What is the difference between fontSize and textScaleFactor in Flutter?
body: <p>The default for <code>fontSize</code> is <code>14.0</code>. Therefore, <code>textScaleFactor: 2.0</code> appears to be the same as <code>fontSize: 28.0</code> as seen in my code example:</p>
  
  <pre><code>class MyApp extends StatelessWidget {
  
    @override
    Widget build(BuildContext context) {
      return new MaterialApp(
        home: Scaffold(
          appBar: AppBar(title: Text('Title')),
          body: Row(
            children: &lt;Widget&gt;[
              new Text("Jane", textScaleFactor: 2.0),
              new Text(" Doe", style: new TextStyle(fontSize: 28.0)),
            ],
          )
        )
      );
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/sF32e.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sF32e.png" alt="enter image description here"></a></p>
  
  <p>What are the pros and cons? Are there any recommendations when to use one or another in specific cases?</p>