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

consumeWindowInsets

Indicates whether access to WindowInsets within the content should consume the Android android.view.WindowInsets.

Source set: Android
public var AbstractComposeView.consumeWindowInsets: Boolean

Indicates whether access to WindowInsets within the content should consume the Android android.view.WindowInsets. The default value is false, meaning that access to WindowInsets.Companion will not consume all the Android WindowInsets and instead adjust the insets based on the position of child Views.

This property should be set prior to first composition.

Source set: Android
@Deprecated(
    level = DeprecationLevel.HIDDEN,
    message = "Please use AbstractComposeView.consumeWindowInsets",
)
public var ComposeView.consumeWindowInsets: Boolean

Indicates whether access to WindowInsets within the content should consume the Android android.view.WindowInsets. The default value is true, meaning that access to WindowInsets.Companion will consume the Android WindowInsets.

This property should be set prior to first composition.