androidx.compose.material3.adaptive

WindowAdaptiveInfo

Class · from org.jetbrains.compose.material3.adaptive:adaptive:1.3.0

No hand-written docs yet.

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.

class WindowAdaptiveInfo(
    windowSizeClass: WindowSizeClass,
    windowPosture: Posture,
)

How to get one

Create it

Ready-made values and functions that return it

Used by

Parameters that take a WindowAdaptiveInfo.

Properties

windowSizeClass

val windowSizeClass: WindowSizeClass

windowPosture

val windowPosture: Posture
Library docs

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.