WindowAdaptiveInfo

Class
Common
@ExperimentalMaterial3AdaptiveApi
class WindowAdaptiveInfo(
    val windowSizeClass: WindowSizeClass,
    val windowPosture: Posture
)

This class collects window info that affects adaptation decisions. An adaptive layout is supposed to use the info from this class to decide how the layout is supposed to be adapted.

Parameters

windowSizeClass WindowSizeClass of the current window.
windowPosture Posture of the current window.