navigationBarsPadding

inline fun Modifier.navigationBarsPadding(bottom: Boolean = true, start: Boolean = true, end: Boolean = true): Modifier

Apply additional space which matches the height of the navigation bars height along the bottom edge of the content, and additional space which matches the width of the navigation bars on the respective start and end edges.

Parameters

bottom

Whether to apply padding to the bottom edge, which matches the navigation bars height (if present) at the bottom edge of the screen. Defaults to true.

start

Whether to apply padding to the start edge, which matches the navigation bars width (if present) on the start edge of the screen. Defaults to true.

end

Whether to apply padding to the end edge, which matches the navigation bars width (if present) on the end edge of the screen. Defaults to true.