lineHeight method

Text lineHeight(
  1. double height
)

Sets custom line height

Example:

Text('Hello').lineHeight(1.5)

Implementation

Text lineHeight(double height) => _copyWith(style: TextStyle(height: height));