defaultTextStyle property

DefaultTextStyle get defaultTextStyle

Returns the DefaultTextStyle of the context. This property retrieves the default text style applied to the text in the widget tree.

Implementation

DefaultTextStyle get defaultTextStyle => DefaultTextStyle.of(this);