FlexibleSpace

fun FlexibleSpace(hidesSharedBackground: Boolean = false, separatesSharedBackground: Boolean = false): InputAction

Creates a flexible spacer with explicit shared-background behavior.

On iOS 26 and later, setting separatesSharedBackground to true inserts the native zero-width separator that keeps the groups on either side visually separate.


Creates a flexible spacer for placement between visible input actions.

The spacer itself has no visible title or callback. Add visible actions separately when constructing the action list.