LazyHStack
public extension LazyHStack
-
Creates an instance that arranges its children in a horizontal line.
Declaration
Swift
init( alignment: VerticalAlignment = .center, spacing: BPKSpacing, pinnedViews: PinnedScrollableViews = .init(), @ViewBuilder content: () -> Content)
Parameters
alignment
The vertical alignment of the children within the stack’s bounds.
spacing
The distance between the leading edge of one child and the trailing edge of the previous child.
pinnedViews
The set of views that should remain visible when the stack is scrolled.
content
A view builder that creates the children of this stack.