Class

MutableWindowInsets

A WindowInsets whose values can change without changing the instance.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
@ExperimentalLayoutApi
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

Common
var insets

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