From 52c801dc4f6010daf8a426a6956f304869e3b5c5 Mon Sep 17 00:00:00 2001 From: Gary Qian Date: Wed, 24 Jul 2019 17:41:12 -0700 Subject: [PATCH] Add reference to StrutStyle from TextStyle (#36867) --- packages/flutter/lib/src/painting/text_style.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/painting/text_style.dart b/packages/flutter/lib/src/painting/text_style.dart index bf5b4e1653..1e11cadd00 100644 --- a/packages/flutter/lib/src/painting/text_style.dart +++ b/packages/flutter/lib/src/painting/text_style.dart @@ -134,6 +134,8 @@ const String _kColorBackgroundWarning = 'Cannot provide both a backgroundColor a /// /// ![Text height comparison diagram](https://flutter.github.io/assets-for-api-docs/assets/painting/text_height_comparison_diagram.png) /// +/// See [StrutStyle] for further control of line height at the paragraph level. +/// /// ### Wavy red underline with black text /// /// {@tool sample} @@ -534,13 +536,11 @@ class TextStyle extends Diagnosticable { /// /// ![Text height diagram](https://flutter.github.io/assets-for-api-docs/assets/painting/text_height_diagram.png) /// - /// {@tool sample} - /// /// Examples of the resulting line heights from different values of `TextStyle.height`: /// /// ![Text height comparison diagram](https://flutter.github.io/assets-for-api-docs/assets/painting/text_height_comparison_diagram.png) /// - /// {@end-tool} + /// See [StrutStyle] for further control of line height at the paragraph level. final double height; /// The locale used to select region-specific glyphs.