VStack
public struct VStack<Content> : Stack, GrowingAxesModifying where Content : View
A view that arranges its children in a vertical line.
-
Declaration
Swift
public let body: Content -
Declaration
Swift
public func modifiedGrowingLayoutAxes(forGrowingAxesOfSubnodes growingAxesOfSubnodes: Set<GrowingLayoutAxis>) -> Set<GrowingLayoutAxis> -
Undocumented
Declaration
Swift
public init(alignment: HorizontalAlignment = .center, spacing: Double? = nil, @ViewBuilder buildSubviews: () -> Content)
View on GitHub
VStack Structure Reference