I’m trying to add weight to an icon so it becomes more bold like this website shows at the top of the page.
https://m3.material.io/styles/icons/applying-icons
However, this doesn’t seem to compile – the .weight
modifier isn’t available. What am I doing wrong?
Icon(
imageVector = Icons.Rounded.Check,
contentDescription = null,
modifier = Modifier
.weight(700F)
)