currentWindowAdaptiveInfo
Composable Function
Android
@ExperimentalMaterial3AdaptiveApi
@Composable
fun currentWindowAdaptiveInfo(): WindowAdaptiveInfo
Calculates and returns WindowAdaptiveInfo of the provided context. It's a convenient function
that uses the Material default WindowSizeClass.calculateFromSize and calculatePosture
functions to retrieve WindowSizeClass and Posture.
Returns
WindowAdaptiveInfo of the provided context |
