style property

  1. @override
TextStyle? get style
override

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

@override
TextStyle? get style => $value.style;