void pushStyle(TextStyle style)

Applies the given style to the added text until pop is called.

See pop for details.

Source

void pushStyle(TextStyle style) => _pushStyle(style._encoded, style._fontFamily, style._fontSize, style._letterSpacing, style._wordSpacing, style._height);