androidx.compose.foundation.layout

MutableWindowInsetsExperimental

Class · from org.jetbrains.compose.foundation:foundation-layout:1.12.2

No hand-written docs yet.

A WindowInsets whose values can change without changing the instance. This is useful to avoid recomposition when WindowInsets can change.

class MutableWindowInsets(
    initialInsets: WindowInsets = WindowInsets(0, 0, 0, 0),
) : WindowInsets

Is a

How to get one

Create it

Properties

insets

val insets

The WindowInsets that are used for left``getLeft, top``getTop, right``getRight, and bottom``getBottom values.

Library docs

A WindowInsets whose values can change without changing the instance. This is useful to avoid recomposition when WindowInsets can change.