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?
MarkdownText does have
onTextLayout: ((kotlin.Int) -> kotlin.Unit)? = COMPILED_CODE)
But onText
compose, we haveonTextLayout: (TextLayoutResult) -> Unit = {}
which gives us some options liketextLayoutResult.lineCount
,textLayoutResult.getLineRight(chatRowData.lineCount - 1)
,textLayoutResult.size.width
. How can we access those options?