Source set: Android
Added in 1.0.0-alpha06
@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 |