desc markdown">
      <p>Creates a new TextStyle object.</p><ul><li><code>color</code>: The color to use when painting the text. If this is specified, <code>foreground</code> must be null.</li><li><code>decoration</code>: The decorations to paint near the text (e.g., an underline).</li><li><code>decorationColor</code>: The color in which to paint the text decorations.</li><li><code>decorationStyle</code>: The style in which to paint the text decorations (e.g., dashed).</li><li><code>fontWeight</code>: The t