Is it possible to resize image (make it bigger) wi...
# compose
k
Is it possible to resize image (make it bigger) with modifier, but for an image to keep the same ratio?
Image is wrapped in Card, so just setting
.size
will make card of that size.
Setting
Modifier.defaultMinSize
&
ContentScale.Crop
seems to solve issue.
d
I think there's a
Modifier.aspectRatio()
.