🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

MutableWindowInsets

A WindowInsets whose values can change without changing the instance.

Source set: Common
public class MutableWindowInsets(initialInsets: WindowInsets = WindowInsets(0, 0, 0, 0)) :
    WindowInsets

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

Note: This API as experimental since it doesn't enforce the right consumption patterns.

Properties

insets

Source set: Common
public var insets: WindowInsets by mutableStateOf(initialInsets)

The WindowInsets that are used for left, top, right, and bottom values.

Functions

getLeft

Source set: Common
override fun getLeft(density: Density, layoutDirection: LayoutDirection): Int

getTop

Source set: Common
override fun getTop(density: Density): Int

getRight

Source set: Common
override fun getRight(density: Density, layoutDirection: LayoutDirection): Int

getBottom

Source set: Common
override fun getBottom(density: Density): Int