union

Returns a [WindowInsets] that has the maximum values of this [WindowInsets] and [insets].

union

Function

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

Returns a WindowInsets that has the maximum values of this WindowInsets and insets.