giorgos
@Composable fun BarcodeListItem( description: String, modifier: Modifier = Modifier, ) { Row( modifier = modifier, ) { Image( painter = painterResource(R.drawable.barcode), contentDescription = null, contentScale = ContentScale.Crop, ) Text( text = description, ) } }
.height(IntrinsicSize.Max)
@Composable fun BarcodeListItem( description: String, modifier: Modifier = Modifier.height(IntrinsicSize.Max), ) { Row( modifier = modifier, ) { Image( painter = painterResource(R.drawable.barcode), contentDescription = null, contentScale = ContentScale.Crop, ) Text( text = description, ) } }
A modern programming language that makes developers happier.