From 15393b4990e3aa292b8f4e6c6138b785a0d28291 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 30 Mar 2016 10:55:40 -0700 Subject: [PATCH] Improve docs for TextStyle#height Fixes #2918 --- packages/flutter/lib/src/painting/text_style.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/painting/text_style.dart b/packages/flutter/lib/src/painting/text_style.dart index 475e262cd7..2409803881 100644 --- a/packages/flutter/lib/src/painting/text_style.dart +++ b/packages/flutter/lib/src/painting/text_style.dart @@ -56,7 +56,11 @@ class TextStyle { /// The baseline to use for aligning the text. final TextBaseline textBaseline; - /// The distance between the text baselines, as a multiple of the font size. + /// The height of this text span, as a multiple of the font size. + /// + /// If applied to the root [TextSpan], this value sets the line height, which + /// is the minimum distance between each text baselines, as multiple of the + /// font size. final double height; /// The decorations to paint near the text (e.g., an underline).