only
Function
Common
fun WindowInsets.only(sides: WindowInsetsSides): WindowInsets
Returns a WindowInsets
that eliminates all dimensions except the ones that are enabled. For
example, to have a WindowInsets
at the bottom of the screen, pass WindowInsetsSides.Bottom
.