WidgetTextStyle

data class WidgetTextStyle(val fontSize: Float? = null, val fontColor: Color? = null, val fontWeight: FontWeight? = null, val lineHeight: Float? = null, val letterSpacing: Float? = null, val textTransform: TextTransform? = null)

Styling for the text components within the Catch widgets.

See WidgetTextStyle.create for apps that do not have Compose dependencies used in the primary constructor.

Constructors

Link copied to clipboard
constructor(fontSize: Float? = null, fontColor: Color? = null, fontWeight: FontWeight? = null, lineHeight: Float? = null, letterSpacing: Float? = null, textTransform: TextTransform? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val fontColor: Color? = null

Configures the font color for text components.

Link copied to clipboard
val fontSize: Float? = null

Configures the font size for text components.

Link copied to clipboard
val fontWeight: FontWeight? = null

Configures the font weight for text components.

Link copied to clipboard
val letterSpacing: Float? = null

Configures the letter spacing for text components.

Link copied to clipboard
val lineHeight: Float? = null

Configures the line height for text components.

Link copied to clipboard

Transforms casing of text in text components.