How do set text line height in flutter?

Yes, there is also a height property in TextStyle which allows you to manually adjust the height of the line.

Code Snippet

Text('Hey There', 
  style: TextStyle(height: 5, fontSize: 10),
)

enter image description here


In addition to Ayush's answer. If we look to the documentation, we can see

When height is non-null, the line height of the span of text will be a multiple of fontSize and be exactly fontSize * height logical pixels tall.

For example, if want to have height 24.0, with font-size 20.0, we should have height property 1.2

Example:

TextStyle(
      fontSize: 20.0,
      height: 1.2,
);