Update the alt text to match recommendations in https://html.spec.whatwg.org/multipage/images.html#alt (#74089)
This commit is contained in:
@@ -125,10 +125,10 @@ const double _kDefaultFontSize = 14.0;
|
||||
/// The [height] property allows manual adjustment of the height of the line as
|
||||
/// a multiple of [fontSize]. For most fonts, setting [height] to 1.0 is not
|
||||
/// the same as omitting or setting height to null. The following diagram
|
||||
/// illustrates the difference between the font-metrics defined line height and
|
||||
/// illustrates the difference between the font-metrics-defined line height and
|
||||
/// the line height produced with `height: 1.0` (also known as the EM-square):
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
/// {@tool snippet}
|
||||
/// The [height] property can be used to change the line height. Here, the line
|
||||
@@ -146,7 +146,7 @@ const double _kDefaultFontSize = 14.0;
|
||||
///
|
||||
/// Examples of the resulting heights from different values of `TextStyle.height`:
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
/// See [StrutStyle] for further control of line height at the paragraph level.
|
||||
///
|
||||
@@ -191,7 +191,7 @@ const double _kDefaultFontSize = 14.0;
|
||||
/// should be provided as a [foreground] paint. The following example uses a [Stack]
|
||||
/// to produce a stroke and fill effect.
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
/// ```dart
|
||||
/// Stack(
|
||||
@@ -227,7 +227,7 @@ const double _kDefaultFontSize = 14.0;
|
||||
/// applied to the text. Here we provide a [Paint] with a [ui.Gradient]
|
||||
/// shader.
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
/// ```dart
|
||||
/// Text(
|
||||
@@ -551,11 +551,11 @@ class TextStyle with Diagnosticable {
|
||||
/// defined line height and the line height produced with `height: 1.0`
|
||||
/// (which forms the upper and lower edges of the EM-square):
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
/// Examples of the resulting line heights from different values of `TextStyle.height`:
|
||||
///
|
||||
/// 
|
||||
/// 
|
||||
///
|
||||
/// See [StrutStyle] for further control of line height at the paragraph level.
|
||||
final double? height;
|
||||
|
||||
Reference in New Issue
Block a user