Function

add

Returns a WindowInsets that has values of this, added to the values of insets.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

add

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

Returns a WindowInsets that has values of this, added to the values of insets. For example, if this has a top of 10 and insets has a top of 5, the returned WindowInsets will have a top of 15.