mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #3003 from abarth/height_docs
Improve docs for TextStyle#height
This commit is contained in:
commit
d2a616e8fd
@ -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).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user