How to change font weight of LineThrough for Text in Android Jetpack Compose:?

Viewed 18

I have a text for which I want to make the LineThrough a bit bolder so that it looks more visible on my screen. Simply put can we add a font size to the line? Is there a way to do it?

Text(
  text ="Lorem Ipsum Dolor",
  style = MaterialTheme.typography.h6,
  color = Color.White,
  textDecoration = TextDecoration.LineThrough
)

enter image description here

0 Answers
Related