fun DtText()

in hot-reload-devtools/src/main/kotlin/org/jetbrains/compose/devtools/widgets/text.kt [35:55]


fun DtText(
    text: String, modifier: Modifier = Modifier,
    style: TextStyle = DtTextStyles.default,
    onTextLayout: ((TextLayoutResult) -> Unit)? = null,
    overflow: TextOverflow = TextOverflow.Clip,
    softWrap: Boolean = true,
    maxLines: Int = Int.MAX_VALUE,
    minLines: Int = 1,
    color: ColorProducer? = null
) {
    BasicText(
        text, modifier,
        onTextLayout = onTextLayout,
        overflow = overflow,
        softWrap = softWrap,
        maxLines = maxLines,
        minLines = minLines,
        style = style,
        color = color,
    )
}