Benjamin Deroche
@Composable
MaterialTheme
@Composable fun Modifier.underlined( strokeWidth: Float = 8f, color: Color = MaterialTheme.colors.primary ) = composed( factory = { drawBehind { val width: Float = size.width val height: Float = size.height - strokeWidth / 2 drawLine( color = color, start = Offset(x = 0f, y = height), end = Offset(x = width, y = height), strokeWidth = strokeWidth ) } } )
Blundell
ascii
composed
A modern programming language that makes developers happier.