Unverified Commit 52c801dc authored by Gary Qian's avatar Gary Qian Committed by GitHub

Add reference to StrutStyle from TextStyle (#36867)

parent 9edce4f9
...@@ -134,6 +134,8 @@ const String _kColorBackgroundWarning = 'Cannot provide both a backgroundColor a ...@@ -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) /// ![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 /// ### Wavy red underline with black text
/// ///
/// {@tool sample} /// {@tool sample}
...@@ -534,13 +536,11 @@ class TextStyle extends Diagnosticable { ...@@ -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) /// ![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`: /// 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) /// ![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; final double height;
/// The locale used to select region-specific glyphs. /// The locale used to select region-specific glyphs.
......
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