Unverified Commit 117c7097 authored by LongCatIsLooong's avatar LongCatIsLooong Committed by GitHub

Fix TextStyle terminology (#137000)

cascading -> inheritance
parent 2de1af40
...@@ -518,10 +518,10 @@ class TextStyle with Diagnosticable { ...@@ -518,10 +518,10 @@ class TextStyle with Diagnosticable {
/// Otherwise, the combining is allowed, and the returned [TextStyle] inherits /// Otherwise, the combining is allowed, and the returned [TextStyle] inherits
/// the [inherit] value from the method receiver. /// the [inherit] value from the method receiver.
/// ///
/// This property has no effect on [TextSpan]'s text style cascading: in a /// This property does not affect the text style inheritance in an [InlineSpan]
/// [TextSpan] tree, a [TextSpan]'s text style can be combined with that of an /// tree: an [InlineSpan]'s text style is merged with that of an ancestor
/// ancestor [TextSpan] if it has unspecified fields, regardless of its /// [InlineSpan] if it has unspecified fields, regardless of its [inherit]
/// [inherit] value. /// value.
/// ///
/// Properties that don't have explicit values or other default values to fall /// Properties that don't have explicit values or other default values to fall
/// back to will revert to the defaults: white in color, a font size of 14 /// back to will revert to the defaults: white in color, a font size of 14
......
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