Zaki Shaikh
Column( modifier = modifier .height(200.dp) .background(color = Color.Cameron, shape = RectangleShape) .clip(RectangleShape) .clickable(onClick = onClick), verticalArrangement = Arrangement.SpaceEvenly, horizontalAlignment = Alignment.CenterHorizontally ) { RemoteImage( modifier = Modifier .clip(CircleShape) .fillMaxSize(.7F), imageLink = imageLink, contentScale = ContentScale.FillBounds, error = error ) Text( text = title, color = Color.White, fontWeight = FontWeight.Bold, textAlign = TextAlign.Center, style = MaterialTheme.typography.overline, modifier = Modifier.padding(top = spacing.extraSmall) ) }
RemoteImage( modifier = Modifier .clip(CircleShape) .fillMaxWidth(.7f) .fillMaxHeight(.6f), imageLink = imageLink, contentScale = ContentScale.FillBounds, error = error )
Stylianos Gakis
A modern programming language that makes developers happier.