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.
Install Jetpack Compose to your brain
Click below to learn how to use Jetpack Compose instantly without spending days.