WindowInsets

Function

Common
fun WindowInsets(): WindowInsets

Create a WindowInsets with fixed dimensions of 0 on all sides.

Common
fun WindowInsets(left: Int = 0, top: Int = 0, right: Int = 0, bottom: Int = 0): WindowInsets

Create a WindowInsets with fixed dimensions.

Common
fun WindowInsets(
    left: Dp = 0.dp,
    top: Dp = 0.dp,
    right: Dp = 0.dp,
    bottom: Dp = 0.dp,
): WindowInsets

Create a WindowInsets with fixed dimensions, using Dp values.