systemBarsPadding

fun Modifier.systemBarsPadding(enabled: Boolean = true): Modifier

Selectively apply additional space which matches the width/height of any system bars present on the respective edges of the screen.

Parameters

enabled

Whether to apply padding using the system bars dimensions on the respective edges. Defaults to true.