ReversiText

@Composable
fun ReversiScope.ReversiText(text: String, color: Color = getTheme().textColor, autoSize: TextAutoSize? = null, fontSize: TextUnit = TextUnit.Unspecified, modifier: Modifier = Modifier, fontWeight: FontWeight? = null, maxLines: Int = 1, softWrap: Boolean = false, fontStyle: FontStyle = FontStyle.Normal, textAlign: TextAlign = TextAlign.Start, overflow: TextOverflow = TextOverflow.Ellipsis)

Themed text composable following the application's color scheme. Supports auto-sizing and various text styling options.

Parameters

text

The text content to display.

color

The text color (defaults to theme text color).

autoSize

Optional auto-sizing configuration for dynamic font scaling.

fontSize

Fixed font size (overrides auto-sizing if specified).

modifier

Composable modifier for layout adjustments.

fontWeight

Optional font weight for the text.

maxLines

Maximum number of lines to display.

softWrap

Whether to wrap text across multiple lines.

fontStyle

Font style (normal, italic, etc.).

textAlign

Horizontal text alignment.

overflow

Text overflow behavior.