androidx.compose.material3.adaptive
currentWindowAdaptiveInfoV2Since 1.3
Function · from org.jetbrains.compose.material3.adaptive:adaptive:1.3.0
No hand-written docs yet.
Calculates and returns WindowAdaptiveInfo of the provided context. It's a convenient function that uses the default WindowSizeClass constructor and the default Posture calculation functions to retrieve WindowSizeClass and Posture.
Parameters
@Composable
fun currentWindowAdaptiveInfoV2(): WindowAdaptiveInfo
Library docs
Calculates and returns WindowAdaptiveInfo of the provided context. It's a convenient function
that uses the default WindowSizeClass constructor and the default Posture calculation
functions to retrieve WindowSizeClass and Posture.
Note that this function is meant to replace currentWindowAdaptiveInfo and support L and XL
width size classes by default.