Skip to main content

What is Flutter Text’s Default Font Size? How to Change It?

Flutter has a Text widget that you can use to display text on your screens. By default, the font size is 14 pixels. However, you can change the font size to any value you want. In this post, we will show you how to change the font size in Flutter Text.

Ways to Change Text Font Size

  theme: ThemeData(
    textTheme: TextTheme(
      bodyText1: TextStyle(fontSize: 16.0),
      bodyText2: TextStyle(fontSize: 20.0),
      button: TextStyle(fontSize: 16.0),

        'Error! Please try again later!',
        style: TextStyle(fontSize: 18),
Text("Default Text Style",
               fontSize: Theme.of(context).textTheme.body1.fontSize

By continuing to use the site, you agree to the use of cookies.