Commit 15393b49 authored by Adam Barth's avatar Adam Barth

Improve docs for TextStyle#height

Fixes #2918
parent 776a79f5
...@@ -56,7 +56,11 @@ class TextStyle { ...@@ -56,7 +56,11 @@ class TextStyle {
/// The baseline to use for aligning the text. /// The baseline to use for aligning the text.
final TextBaseline textBaseline; 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; final double height;
/// The decorations to paint near the text (e.g., an underline). /// The decorations to paint near the text (e.g., an underline).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment