Skip to content

Instantly share code, notes, and snippets.

View LichtHong's full-sized avatar

Licht LichtHong

  • 中国,云南
  • 09:17 (UTC +08:00)
View GitHub Profile
@LichtHong
LichtHong / ExposedDropdownMenuBox.kt
Last active May 22, 2023 07:47
ExposedDropdownMenuBox for Compose Mutiplatform
package androidx.compose.material3
import androidx.compose.foundation.gestures.awaitEachGesture
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.requiredWidth
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowDropDown
import androidx.compose.runtime.Composable