style property Null safety

TextStyle? style
final

If non-null, the style to use for this text.

If the style's "inherit" property is true, the style will be merged with the closest enclosing DefaultTextStyle. Otherwise, the style will replace the closest enclosing DefaultTextStyle.

Implementation

final TextStyle? style;