style property

TextStyle? style
getter/setter pair

The style(s) to set on the text.

If the value for a particular style matches that of the parent, that style will be set to inherit. Certain text style changes may cause other changes meant to mirror the behavior of the Slides editor. See the documentation of TextStyle for more information.

Implementation

TextStyle? style;