TextComponentStyle
data class TextComponentStyle(val color: Color, val style: TextStyle, val maxLines: Int = Int.MAX_VALUE, val overflow: TextOverflow = TextOverflow.Clip)
Represents the styling for the text component.
Parameters
color
The color of the component.
style
The style of the component.
maxLines
The maximum number of lines the component can have.
overflow
The overflow behavior of the component.
Constructors
Link copied to clipboard
constructor(color: Color, style: TextStyle, maxLines: Int = Int.MAX_VALUE, overflow: TextOverflow = TextOverflow.Clip)