@Composable
fun Button013(text:String,containerColor:Color = Color(0x0d333333),textColor:Color = Color.White) {
Button(
contentPadding= PaddingValues(
start = 0.dp,
top = 0.dp,
end = 1.dp,
bottom = 0.dp
) ,
onClick = { /*TODO*/ },
colors = ButtonDefaults.buttonColors(
containerColor = containerColor,
contentColor = textColor
),
modifier = Modifier.size(144.dp/3.5f,44.dp/3.5f)
) {
BasicText(
text = text,
style = TextStyle(
fontSize = 24.sp / 3.5f,
color = textColor,
)
)
}
}
02-22
1984
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-08