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 {
/// Otherwise, the combining is allowed, and the returned [TextStyle] inherits
/// the [inherit] value from the method receiver.
///
/// This property has no effect on [TextSpan]'s text style cascading: in a
/// [TextSpan] tree, a [TextSpan]'s text style can be combined with that of an
/// ancestor [TextSpan] if it has unspecified fields, regardless of its
/// [inherit] value.
/// This property does not affect the text style inheritance in an [InlineSpan]
/// tree: an [InlineSpan]'s text style is merged with that of an ancestor
/// [InlineSpan] if it has unspecified fields, regardless of its [inherit]
/// value.
///
/// 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
......
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