Package-level declarations
Types
Aligns flex lines when there is extra space on the cross axis. Only has effect when FlexWrap is not FlexWrap.NoWrap and there are multiple lines. Mirrors CSS align-content.
Aligns flex items along the cross axis. Mirrors CSS align-items.
Kotlin/Native entry point for iOS consumers that want to use the Flex flexbox algorithm from SwiftUI's Layout protocol.
Scope for FlexBox content — provides Modifier.flexItem to configure per-child flex properties.
Describes a flex item for use from Swift when implementing SwiftUI's Layout protocol.
Holds the flex layout properties for a flex container.
Defines the direction flex items are placed in the flex container. Mirrors CSS flex-direction.
Input descriptor for a single flex item.
Layout result for a single flex item — all values are in pixels from the container's top-left.
Callback used by FlexboxEngine to determine an item's size.
Aligns flex items along the main axis. Mirrors CSS justify-content.
Functions
A composable that lays out its content children following CSS Flexbox rules.
Overload of FlexBox that accepts FlexContainerStyle parameters directly instead of a pre-built FlexContainerStyle instance.
Returns a copy of this style with both FlexContainerStyle.rowGap and FlexContainerStyle.columnGap set to gap. Mirrors CSS gap: <length>.