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

WindowInsetsSides

WindowInsetsSides is used in WindowInsets.only to define which sides of the WindowInsets should apply.

Source set: Common
public class WindowInsetsSides private constructor(private val value: Int)

WindowInsetsSides is used in WindowInsets.only to define which sides of the WindowInsets should apply.

Functions

plus

Source set: Common
public operator fun plus(sides: WindowInsetsSides): WindowInsetsSides

Returns a WindowInsetsSides containing sides defied in sides and the sides in this.

toString

Source set: Common
override fun toString(): String

Members

Companion

Source set: Common
public companion object

Properties

Start

Source set: Common
public val Start: WindowInsetsSides

Indicates a WindowInsets start side, which is left or right depending on LayoutDirection. If LayoutDirection.Ltr, Start is the left side. If LayoutDirection.Rtl, Start is the right side.

Use Left or Right if the physical direction is required.

End

Source set: Common
public val End: WindowInsetsSides

Indicates a WindowInsets end side, which is left or right depending on LayoutDirection. If LayoutDirection.Ltr, End is the right side. If LayoutDirection.Rtl, End is the left side.

Use Left or Right if the physical direction is required.

Top

Source set: Common
public val Top: WindowInsetsSides

Indicates a WindowInsets top side.

Bottom

Source set: Common
public val Bottom: WindowInsetsSides

Indicates a WindowInsets bottom side.

Left

Source set: Common
public val Left: WindowInsetsSides

Indicates a WindowInsets left side. Most layouts will prefer using Start or End to account for LayoutDirection.

Source set: Common
public val Right: WindowInsetsSides

Indicates a WindowInsets right side. Most layouts will prefer using Start or End to account for LayoutDirection.

Horizontal

Source set: Common
public val Horizontal: WindowInsetsSides

Indicates a WindowInsets horizontal sides. This is a combination of Left and Right sides, or Start and End sides.

Vertical

Source set: Common
public val Vertical: WindowInsetsSides

Indicates a WindowInsets Top and Bottom sides.