Text(
text = "Told lee he'd be a millionaire",
color = Color.White,
textDecoration = TextDecoration.LineThrough
)
The result of the above code is
I'd like to know if there's a way to change the color of the line that strikes through, The intended result would be something like


Workaround for this would be using
Modifier.drawWithContent{}and drawing line in front of text. This is only for single line text though. If you need to use for multiple lines need to calculate text height and apply each lineFor multiline there can be many things to consider. But basically need to get line count, total height and width of each line.