🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

only

Returns a WindowInsets that eliminates all dimensions except the ones that are enabled.

only

Source set: Common
public 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.