File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/flutter/lib/src/painting Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -518,10 +518,10 @@ class TextStyle with Diagnosticable {
518
518
/// Otherwise, the combining is allowed, and the returned [TextStyle] inherits
519
519
/// the [inherit] value from the method receiver.
520
520
///
521
- /// This property has no effect on [TextSpan] 's text style cascading: in a
522
- /// [TextSpan] tree, a [TextSpan ] 's text style can be combined with that of an
523
- /// ancestor [TextSpan ] if it has unspecified fields, regardless of its
524
- /// [inherit] value.
521
+ /// This property does not affect the text style inheritance in an [InlineSpan]
522
+ /// tree: an [InlineSpan ] 's text style is merged with that of an ancestor
523
+ /// [InlineSpan ] if it has unspecified fields, regardless of its [inherit]
524
+ /// value.
525
525
///
526
526
/// Properties that don't have explicit values or other default values to fall
527
527
/// back to will revert to the defaults: white in color, a font size of 14
You can’t perform that action at this time.
0 commit comments