inherit property Null safety

bool inherit
final

Whether null values are replaced with their value in an ancestor text style (e.g., in a TextSpan tree).

If this is false, properties that don't have explicit values will revert to the defaults: white in color, a font size of 10 pixels, in a sans-serif font face.

Implementation

final bool inherit