-
add
Returns a WindowInsets that has values of this, added to the values of insets.
-
asPaddingValues
Convert a WindowInsets to a PaddingValues and uses density for DP to pixel conversion.
-
calculateEndPadding
The padding to be applied along the end edge inside a box: along the right edge if the layout direction is LTR, or along the left edge for RTL.
-
calculateStartPadding
The padding to be applied along the start edge inside a box: along the left edge if the layout direction is LTR, or along the right edge for RTL.
-
columns
Adds multiple columns with the specified specs.
-
exclude
Returns the values in this WindowInsets that are not also in insets.
-
minus
Subtracts a PaddingValues from another one and ensures that the result is non-negative.
-
only
Returns a WindowInsets that eliminates all dimensions except the ones that are enabled.
-
PaddingValues
Creates a padding of all dp along all 4 edges.
-
plus
Adds two PaddingValues together.
-
rows
Adds multiple rows with the specified specs.
-
union
Returns a WindowInsets that has the maximum values of this WindowInsets and insets.
-
WindowInsets
Create a WindowInsets with fixed dimensions of 0 on all sides.
Compose Foundation Layout
Jetpack Compose API reference for foundation-layout.