Styled

data class Styled(val text: StyledString, val style: KalugaTextStyle = text.defaultTextStyle) : KalugaLabel

A KalugaLabel that displays a StyledString

Parameters

style

the KalugaTextStyle of the label

Constructors

Link copied to clipboard
constructor(text: StyledString, style: KalugaTextStyle = text.defaultTextStyle)

Properties

Link copied to clipboard
open override val style: KalugaTextStyle
Link copied to clipboard

the StyledString to display on the label