maiatoday
04/08/2023, 2:23 PMWindowSize
and saves it in a composition local. I know material3 has a premade enum but I think I also saw it wasn’t available on desktop. Please point me in the right direction if there are good resources for this somewhere already that I am missing. My google-fu is faint on the long weekend.PHondogo
04/08/2023, 4:20 PMmaiatoday
04/08/2023, 4:35 PMPablichjenkov
04/09/2023, 1:39 AMModifier.onSizeChange{}
in my root composable. It gives you the actual size, keep in mind that BoxWithConstraint gives you the constraint not the actual composable size. Sometimes they match but sometimes they don’t.