https://kotlinlang.org logo
#compose
Title
# compose
h

Hasan Mesut MERAL

07/06/2023, 1:06 PM
Hi all, when i use modifier with default values i face with render problems 😕 For instance,
Copy code
Card( modifier = Modifier
			.height(48.dp)
			.fillMaxWidth(fraction = 1f)
if i use
fillMaxWidth()
i see warning like this
java.lang.NoSuchMethodError: 'androidx.compose.ui.Modifier androidx.compose.foundation.layout.SizeKt.fillMaxWidth$default(androidx.compose.ui.Modifier, java.lang.Float, int, java.lang.Object)'
any suggestions? Thanks
2 Views