I'm working on a Kotlin Multiplatform app using Compose Multiplatform, and I'm trying to make the same UI work properly across Android phones, Android tablets, iPhones, and iPads.
For example, I want the layout to change based on the available screen width. A phone might show one column, while a tablet or iPad could show two or three columns.
What is the recommended way to handle this in Compose Multiplatform? Should I use WindowSizeClass, or should I check the actual available width/constraints?
I'm also wondering what approach works best when the device is rotated and the available width changes.