Compose Foundation Layout
🖌Compose Unstyled🆕 UI Kit
🤖Jetpack Compose API Reference
Documentation
Theming
Unstyled Components
Universal Components
Blog
Component Catalogue
Jetpack Compose Reference
Sections
Overview
Upcoming Changes
Community
Components
Getting Started
Installation
Key Concepts
Custom Themes
Android XML Themes
Dynamic Themes
Theme Overrides
Modifiers
buildModifier
focusRing
outline
Components
Bottom Sheet
Bottom Sheet (Modal)
Button
Checkbox
Checkbox (TriState)
Dialog
Disclosure
Dropdown Menu
Icon
Modal
Progress Indicator
Radio Group
Scroll Area
Separators
Slider
Tab Group
Text
Tooltip
Text Field
Toggle Switch
UI Kit
Docs
🖌Compose Unstyled🆕 UI Kit
🤖Jetpack Compose API Reference
Blog 930+
Compose UnstyledJetpack Compose API ReferenceUI KitBlog
Composable Functions
  • Box
  • BoxWithConstraints
  • Column
  • ContextualFlowColumn
  • ContextualFlowRow
  • FlowColumn
  • FlowRow
  • Row
  • Spacer
  • asPaddingValues
Modifiers
  • absoluteOffset
  • absolutePadding
  • aspectRatio
  • captionBarPadding
  • consumeWindowInsets
  • defaultMinSize
  • displayCutoutPadding
  • fillMaxHeight
  • fillMaxSize
  • fillMaxWidth
  • fitInside
  • fitOutside
  • height
  • heightIn
  • imeNestedScroll
  • imePadding
  • mandatorySystemGesturesPadding
  • navigationBarsPadding
  • offset
  • onConsumedWindowInsetsChanged
  • padding
  • paddingFrom
  • paddingFromBaseline
  • recalculateWindowInsets
  • requiredHeight
  • requiredHeightIn
  • requiredSize
  • requiredSizeIn
  • requiredWidth
  • requiredWidthIn
  • safeContentPadding
  • safeDrawingPadding
  • safeGesturesPadding
  • size
  • sizeIn
  • statusBarsPadding
  • systemBarsPadding
  • systemGesturesPadding
  • waterfallPadding
  • width
  • widthIn
  • windowInsetsBottomHeight
  • windowInsetsEndWidth
  • windowInsetsPadding
  • windowInsetsStartWidth
  • windowInsetsTopHeight
  • wrapContentHeight
  • wrapContentSize
  • wrapContentWidth
Classes
  • ContextualFlowColumnOverflow
  • ContextualFlowRowOverflow
  • ExperimentalLayoutApi
  • FlowColumnOverflow
  • FlowLayoutOverflow
  • FlowRowOverflow
  • IntrinsicSize
  • LayoutScopeMarker
  • MutableWindowInsets
  • WindowInsetsSides
Interfaces
  • BoxScope
  • BoxWithConstraintsScope
  • ColumnScope
  • ContextualFlowColumnOverflowScope
  • ContextualFlowColumnScope
  • ContextualFlowRowOverflowScope
  • ContextualFlowRowScope
  • FlowColumnOverflowScope
  • FlowColumnScope
  • FlowRowOverflowScope
  • FlowRowScope
  • PaddingValues
  • RowScope
  • WindowInsets
Properties
  • areNavigationBarsVisible
  • areStatusBarsVisible
  • areSystemBarsVisible
  • captionBar
  • captionBarIgnoringVisibility
  • consumeWindowInsets
  • cutoutPath
  • displayCutout
  • ime
  • imeAnimationSource
  • imeAnimationTarget
  • isCaptionBarVisible
  • isImeVisible
  • isTappableElementVisible
  • mandatorySystemGestures
  • navigationBars
  • navigationBarsIgnoringVisibility
  • safeContent
  • safeDrawing
  • safeGestures
  • statusBars
  • statusBarsIgnoringVisibility
  • systemBars
  • systemBarsIgnoringVisibility
  • systemGestures
  • tappableElement
  • tappableElementIgnoringVisibility
  • waterfall
Functions
  • add
  • asPaddingValues
  • calculateEndPadding
  • calculateStartPadding
  • exclude
  • only
  • PaddingValues
  • union
  • WindowInsets
Compose API Reference Compose Foundation Layout

union

Function

Common
fun WindowInsets.union(insets: WindowInsets): WindowInsets

Returns a WindowInsets that has the maximum values of this WindowInsets and insets.

Install Jetpack Compose to your brain
Click below to learn how to use Jetpack Compose instantly without spending days.
Install Now
    On this page
Sponsored By