This piece of code
Row(
modifier = Modifier
.height(IntrinsicSize.Min),
) {
Text(
modifier = Modifier
.fillMaxHeight(),
text = "Hello world",
)
}
results in an error:
Composable uses "height" modifier and contains a Text child. Use heightIn(min = N.dp) instead [ModifierHeightWithText]
which is incorrect as this doesn't make sense for IntrinsicSize overload of height.
Exception is needed for this specific usage.
This piece of code
results in an error:
which is incorrect as this doesn't make sense for
IntrinsicSizeoverload ofheight.Exception is needed for this specific usage.