Add material3-window-size-class-multiplatform to your project
mainTo use this library in a Compose Multiplatform project, add the dependency to your commonMain source set in your Gradle configuration.
Note: This library uses the same package names as the AndroidX version (androidx.compose.material3.windowsizeclass) to facilitate easy migration to official support in the future.
val commonMain by getting {
dependencies {
implementation("dev.chrisbanes.material3:material3-window-size-class-multiplatform:0.5.0")
}
}