Lilly
01/21/2021, 1:18 AMIcon can't be resized:
Icon(
imageVector = Icons.Default.SentimentVerySatisfied,
modifier = Modifier.size(40.dp) // has no effect
)
Image on the other hand works. It's a bit confusing when to use Icon and when Image . ImageVector , ImageBitmap Painter makes it even more confusing. Can someone enlighten me here please?Vinay Gaba
01/21/2021, 1:29 AMIcon(imageVector = Icons.Default.SentimentVerySatisfied.copy(defaultHeight = 100.dp, defaultWidth = 100.dp))Lilly
01/24/2021, 12:36 AMchris-horner
01/29/2021, 12:29 AMcopy() function on ImageVector coming from a particular package? In my project, the copy() function doesn't exist 🤔