Function

WindowInsets

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

WindowInsets

Common
fun WindowInsets(): WindowInsets

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


WindowInsets

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

Create a WindowInsets with fixed dimensions.


WindowInsets

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.