Skip to content

Instantly share code, notes, and snippets.

View ahmedrizwan's full-sized avatar
🚀
Remote

Ahmed Rizwan ahmedrizwan

🚀
Remote
View GitHub Profile
@Composable
fun DimOverlay(alpha: Int) {
Box(modifier = Modifier.fillMaxSize(), backgroundColor = Color(50, 50, 50, alpha))
}
@Composable()
fun NumbersPanel(alpha: Int) {
Stack {
Row(modifier = Modifier.fillMaxSize()) {
numberColumns.forEach { numberColumn ->
Column(modifier = Modifier.weight(1f)) {
numberColumn.forEach { text ->
MainContentButton(text)
}
}