compose-markdown
compose-markdown copied to clipboard
onTextLayout access
MarkdownText does have onTextLayout: ((kotlin.Int) -> kotlin.Unit)? = COMPILED_CODE)
But on Text compose, we have onTextLayout: (TextLayoutResult) -> Unit = {} which gives us some options like textLayoutResult.lineCount, textLayoutResult.getLineRight(chatRowData.lineCount - 1), textLayoutResult.size.width.
How can we access those options?